You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="cancellationToken">To be added.</param>
798
-
<summary>To be added.</summary>
799
-
<returns>To be added.</returns>
800
-
<remarks>To be added.</remarks>
797
+
<paramname="cancellationToken">The cancellation token to cancel the operation.</param>
798
+
<summary>Serialize the HTTP content to a memory buffer as an asynchronous operation.</summary>
799
+
<returns>The task object representing the asynchronous operation.</returns>
800
+
<remarks>
801
+
<para>This operation will not block. The returned <seecref="T:System.Threading.Tasks.Task" /> object will complete after all of the content has been serialized to the memory buffer.</para>
802
+
<para>After content is serialized to a memory buffer, calls to one of the <seecref="M:System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream)" /> methods will copy the content of the memory buffer to the target stream.</para>
803
+
</remarks>
804
+
<exceptioncref="T:System.OperationCanceledException">The cancellation token was canceled. This exception is stored into the returned task.</exception>
805
+
<exceptioncref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
801
806
</Docs>
802
807
</Member>
803
808
<MemberMemberName="LoadIntoBufferAsync">
@@ -823,11 +828,16 @@ When the `disposing` parameter is `true`, this method releases all resources hel
<paramname="cancellationToken">To be added.</param>
828
-
<summary>To be added.</summary>
829
-
<returns>To be added.</returns>
830
-
<remarks>To be added.</remarks>
831
+
<paramname="maxBufferSize">The maximum size, in bytes, of the buffer to use.</param>
832
+
<paramname="cancellationToken">The cancellation token to cancel the operation.</param>
833
+
<summary>Serialize the HTTP content to a memory buffer as an asynchronous operation.</summary>
834
+
<returns>The task object representing the asynchronous operation.</returns>
835
+
<remarks>
836
+
<para>This operation will not block. The returned <seecref="T:System.Threading.Tasks.Task" /> object will complete after all of the content has been serialized to the memory buffer.</para>
837
+
<para>After content is serialized to a memory buffer, calls to one of the <seecref="M:System.Net.Http.HttpContent.CopyToAsync(System.IO.Stream)" /> methods will copy the content of the memory buffer to the target stream.</para>
838
+
</remarks>
839
+
<exceptioncref="T:System.OperationCanceledException">The cancellation token was canceled. This exception is stored into the returned task.</exception>
840
+
<exceptioncref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
Copy file name to clipboardExpand all lines: xml/System.Net.Http/SocketsHttpHandler.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -451,9 +451,9 @@ The default proxy is used only when <xref:System.Net.Http.SocketsHttpHandler.Use
451
451
<ReturnType>System.Boolean</ReturnType>
452
452
</ReturnValue>
453
453
<Docs>
454
-
<summary>To be added.</summary>
454
+
<summary>Gets or sets a value that indicates whether additional HTTP/3 connections can be established to the same server.</summary>
455
455
<value>To be added.</value>
456
-
<remarks>To be added.</remarks>
456
+
<remarks>Enabling multiple connections to the same server explicitly goes against <seehref="https://www.rfc-editor.org/rfc/rfc9114.html#section-3.3-4">RFC 9114 - HTTP/3</see>.</remarks>
<para>Optional callback that is invoked when new stream limit is released by the peer. Corresponds to receiving a MAX_STREAMS frame.</para>
246
+
<para>The callback values represent increments of stream limits, e.g.: current limit is 10 bidirectional streams, callback arguments notify 5 more additional bidirectional streams => 15 bidirectional streams can be opened in total at the moment.</para>
247
+
<para>The initial capacity is reported with the first invocation of the callback that might happen before the <seecref="T:System.Net.Quic.QuicConnection" /> instance is handed out via either <seecref="M:System.Net.Quic.QuicConnection.ConnectAsync(System.Net.Quic.QuicClientConnectionOptions,System.Threading.CancellationToken)" /> or <seecref="M:System.Net.Quic.QuicListener.AcceptConnectionAsync(System.Threading.CancellationToken)" />.</para>
Copy file name to clipboardExpand all lines: xml/System.Net.Quic/QuicStream.xml
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,10 @@
28
28
<Docs>
29
29
<summary>Represents a QUIC stream. <seecref="T:System.Net.Quic.QuicStream" /> can be <seecref="F:System.Net.Quic.QuicStreamType.Unidirectional">unidirectional</see>, that is, write-only for the opening side, or <seecref="F:System.Net.Quic.QuicStreamType.Bidirectional">bidirectional</see>, which allows both sides to write.</summary>
30
30
<remarks>
31
-
<seecref="T:System.Net.Quic.QuicStream" /> can be used in a same way as any other <seecref="T:System.IO.Stream" />.
32
-
33
-
Apart from a stream API, <seecref="T:System.Net.Quic.QuicStream" /> also exposes QUIC-specific features:
34
-
31
+
<seecref="T:System.Net.Quic.QuicStream" /> can be used in a same way as any other <seecref="T:System.IO.Stream" />.
32
+
33
+
Apart from a stream API, <seecref="T:System.Net.Quic.QuicStream" /> also exposes QUIC-specific features:
34
+
35
35
<list type="bullet"><item><term><see cref="M:System.Net.Quic.QuicStream.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Boolean,System.Threading.CancellationToken)" /></term><description>Closes the writing side of the stream as a single operation with the write itself.</description></item><item><term><see cref="M:System.Net.Quic.QuicStream.CompleteWrites" /></term><description>Closes the writing side of the stream.</description></item><item><term><see cref="M:System.Net.Quic.QuicStream.Abort(System.Net.Quic.QuicAbortDirection,System.Int64)" /></term><description>Aborts either the writing or the reading side of the stream.</description></item><item><term><see cref="M:System.Net.Quic.QuicStream.WritesClosed" /></term><description>Returns a <see cref="T:System.Threading.Tasks.Task" /> that will complete when the stream writing side has been closed (gracefully or abortively).</description></item><item><term><see cref="P:System.Net.Quic.QuicStream.ReadsClosed" /></term><description>Returns a <see cref="T:System.Threading.Tasks.Task" /> that will complete when the stream reading side has been closed (gracefully or abortively).</description></item></list></remarks>
@@ -62,12 +62,12 @@ Apart from a stream API, <see cref="T:System.Net.Quic.QuicStream" /> also expose
62
62
<paramname="errorCode">The error code with which to abort the stream. This value is application-protocol (which is the layer above QUIC) dependent.</param>
63
63
<summary>Aborts either the <seecref="F:System.Net.Quic.QuicAbortDirection.Read">reading</see>, <seecref="F:System.Net.Quic.QuicAbortDirection.Write">writing</see>, or <seecref="F:System.Net.Quic.QuicAbortDirection.Both">both</see> sides of the stream.</summary>
64
64
<remarks>
65
-
<formattype="text/markdown">< and [RESET_STREAM](https://www.rfc-editor.org/rfc/rfc9000.html#frame-reset-stream) QUIC frames.
70
-
65
+
<formattype="text/markdown">< and [RESET_STREAM](https://www.rfc-editor.org/rfc/rfc9000.html#frame-reset-stream) QUIC frames.
70
+
71
71
]]></format>
72
72
</remarks>
73
73
</Docs>
@@ -293,14 +293,14 @@ Corresponds to [STOP_SENDING](https://www.rfc-editor.org/rfc/rfc9000.html#frame-
293
293
<Docs>
294
294
<summary>Gracefully completes the writing side of the stream.</summary>
295
295
<remarks>
296
-
<formattype="text/markdown">< frame with `FIN` flag set to `true`.
301
-
302
-
Equivalent to using <xref:System.Net.Quic.QuicStream.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Boolean,System.Threading.CancellationToken)> with `completeWrites: true`.
303
-
296
+
<formattype="text/markdown">< frame with `FIN` flag set to `true`.
301
+
302
+
Equivalent to using <xref:System.Net.Quic.QuicStream.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Boolean,System.Threading.CancellationToken)> with `completeWrites: true`.
Copy file name to clipboardExpand all lines: xml/System.Net.Quic/QuicStreamCapacityChangedArgs.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
</Attribute>
21
21
</Attributes>
22
22
<Docs>
23
-
<summary>To be added.</summary>
23
+
<summary>Arguments for <seecref="P:System.Net.Quic.QuicConnectionOptions.StreamCapacityCallback" />.</summary>
24
24
<remarks>To be added.</remarks>
25
25
</Docs>
26
26
<Members>
@@ -40,7 +40,7 @@
40
40
<ReturnType>System.Int32</ReturnType>
41
41
</ReturnValue>
42
42
<Docs>
43
-
<summary>To be added.</summary>
43
+
<summary>The increment saying how many additional bidirectional streams can be opened on the connection, increased via the latest MAX_STREAMS frame.</summary>
44
44
<value>To be added.</value>
45
45
<remarks>To be added.</remarks>
46
46
</Docs>
@@ -61,7 +61,7 @@
61
61
<ReturnType>System.Int32</ReturnType>
62
62
</ReturnValue>
63
63
<Docs>
64
-
<summary>To be added.</summary>
64
+
<summary>The increment saying how many additional unidirectional streams can be opened on the connection, increased via the latest MAX_STREAMS frame.</summary>
0 commit comments