diff --git a/xml/System.Net.Http/HttpContent.xml b/xml/System.Net.Http/HttpContent.xml index 0cf3ac6488b..c93d7af217d 100644 --- a/xml/System.Net.Http/HttpContent.xml +++ b/xml/System.Net.Http/HttpContent.xml @@ -794,10 +794,15 @@ When the `disposing` parameter is `true`, this method releases all resources hel - To be added. - To be added. - To be added. - To be added. + The cancellation token to cancel the operation. + Serialize the HTTP content to a memory buffer as an asynchronous operation. + The task object representing the asynchronous operation. + + This operation will not block. The returned object will complete after all of the content has been serialized to the memory buffer. + After content is serialized to a memory buffer, calls to one of the methods will copy the content of the memory buffer to the target stream. + + The cancellation token was canceled. This exception is stored into the returned task. + The object has already been disposed. @@ -823,11 +828,16 @@ When the `disposing` parameter is `true`, this method releases all resources hel - To be added. - To be added. - To be added. - To be added. - To be added. + The maximum size, in bytes, of the buffer to use. + The cancellation token to cancel the operation. + Serialize the HTTP content to a memory buffer as an asynchronous operation. + The task object representing the asynchronous operation. + + This operation will not block. The returned object will complete after all of the content has been serialized to the memory buffer. + After content is serialized to a memory buffer, calls to one of the methods will copy the content of the memory buffer to the target stream. + + The cancellation token was canceled. This exception is stored into the returned task. + The object has already been disposed. diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml index e1650453ac1..8273e3f4299 100644 --- a/xml/System.Net.Http/SocketsHttpHandler.xml +++ b/xml/System.Net.Http/SocketsHttpHandler.xml @@ -451,9 +451,9 @@ The default proxy is used only when System.Boolean - To be added. + Gets or sets a value that indicates whether additional HTTP/3 connections can be established to the same server. To be added. - To be added. + Enabling multiple connections to the same server explicitly goes against RFC 9114 - HTTP/3. diff --git a/xml/System.Net.Quic/QuicConnectionOptions.xml b/xml/System.Net.Quic/QuicConnectionOptions.xml index a6dbaef4870..3665155b3d7 100644 --- a/xml/System.Net.Quic/QuicConnectionOptions.xml +++ b/xml/System.Net.Quic/QuicConnectionOptions.xml @@ -241,7 +241,11 @@ To use a different close error code, call System.Action<System.Net.Quic.QuicConnection,System.Net.Quic.QuicStreamCapacityChangedArgs> - To be added. + + Optional callback that is invoked when new stream limit is released by the peer. Corresponds to receiving a MAX_STREAMS frame. + 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. + The initial capacity is reported with the first invocation of the callback that might happen before the instance is handed out via either or . + To be added. To be added. diff --git a/xml/System.Net.Quic/QuicStream.xml b/xml/System.Net.Quic/QuicStream.xml index af401a7c7d6..fb7de0b6605 100644 --- a/xml/System.Net.Quic/QuicStream.xml +++ b/xml/System.Net.Quic/QuicStream.xml @@ -28,10 +28,10 @@ Represents a QUIC stream. can be unidirectional, that is, write-only for the opening side, or bidirectional, which allows both sides to write. - can be used in a same way as any other . - -Apart from a stream API, also exposes QUIC-specific features: - + can be used in a same way as any other . + +Apart from a stream API, also exposes QUIC-specific features: + Closes the writing side of the stream as a single operation with the write itself.Closes the writing side of the stream.Aborts either the writing or the reading side of the stream.Returns a that will complete when the stream writing side has been closed (gracefully or abortively).Returns a that will complete when the stream reading side has been closed (gracefully or abortively). RFC 9000: Streams @@ -62,12 +62,12 @@ Apart from a stream API, also expose The error code with which to abort the stream. This value is application-protocol (which is the layer above QUIC) dependent. Aborts either the reading, writing, or both sides of the stream. - @@ -293,14 +293,14 @@ Corresponds to [STOP_SENDING](https://www.rfc-editor.org/rfc/rfc9000.html#frame- Gracefully completes the writing side of the stream. - with `completeWrites: true`. - + with `completeWrites: true`. + ]]> diff --git a/xml/System.Net.Quic/QuicStreamCapacityChangedArgs.xml b/xml/System.Net.Quic/QuicStreamCapacityChangedArgs.xml index d7e6bc67dd3..ec06533e462 100644 --- a/xml/System.Net.Quic/QuicStreamCapacityChangedArgs.xml +++ b/xml/System.Net.Quic/QuicStreamCapacityChangedArgs.xml @@ -20,7 +20,7 @@ - To be added. + Arguments for . To be added. @@ -40,7 +40,7 @@ System.Int32 - To be added. + The increment saying how many additional bidirectional streams can be opened on the connection, increased via the latest MAX_STREAMS frame. To be added. To be added. @@ -61,7 +61,7 @@ System.Int32 - To be added. + The increment saying how many additional unidirectional streams can be opened on the connection, increased via the latest MAX_STREAMS frame. To be added. To be added.