diff --git a/xml/System.Net.Http/HeaderEncodingSelector`1.xml b/xml/System.Net.Http/HeaderEncodingSelector`1.xml
index a4747c1dfaa..bde91e27769 100644
--- a/xml/System.Net.Http/HeaderEncodingSelector`1.xml
+++ b/xml/System.Net.Http/HeaderEncodingSelector`1.xml
@@ -24,10 +24,10 @@
To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The name of the header to specify for the encoding.
+ The type we are encoding/decoding the headers for.
+ Represents a method that specifies the encoding to use when interpreting header values.
+ The encoding to use, or to use the default behavior.
To be added.
diff --git a/xml/System.Net.Http/HttpKeepAlivePingPolicy.xml b/xml/System.Net.Http/HttpKeepAlivePingPolicy.xml
index bbf4c3c4aa4..756ed2291c7 100644
--- a/xml/System.Net.Http/HttpKeepAlivePingPolicy.xml
+++ b/xml/System.Net.Http/HttpKeepAlivePingPolicy.xml
@@ -13,7 +13,7 @@
System.Enum
- To be added.
+ Specifies when the HTTP/2 ping frame is sent on an idle connection.
To be added.
@@ -34,7 +34,7 @@
1
- To be added.
+ Sends a keep alive ping for the whole lifetime of the connection.
@@ -54,7 +54,7 @@
0
- To be added.
+ Sends a keep alive ping only when there are active streams on the connection.
diff --git a/xml/System.Net.Http/MultipartContent.xml b/xml/System.Net.Http/MultipartContent.xml
index 2b29c753104..3f3c7e6f568 100644
--- a/xml/System.Net.Http/MultipartContent.xml
+++ b/xml/System.Net.Http/MultipartContent.xml
@@ -414,8 +414,8 @@ This operation blocks until all of the content has been written to the memory st
System.Net.Http.HeaderEncodingSelector<System.Net.Http.HttpContent>
- To be added.
- To be added.
+ Gets or sets a callback that decode response header values.
+ The header encoding selector callback to decode the value for the specified response header name, or to indicate the default behavior.
To be added.
diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml
index d8bdc9c7f23..0b8796ca754 100644
--- a/xml/System.Net.Http/SocketsHttpHandler.xml
+++ b/xml/System.Net.Http/SocketsHttpHandler.xml
@@ -298,8 +298,9 @@ The default proxy is used only when System.Boolean
- To be added.
- To be added.
+ Gets or sets a value that indicates whether additional HTTP/2 connections can be established to the same server when the maximum number of concurrent streams is reached on all existing connections.
+
+ if additional HTTP/2 connections are allowed to be created; otherwise, .
To be added.
@@ -349,8 +350,9 @@ The default proxy is used only when System.Boolean
- To be added.
- To be added.
+ Gets a value that indicates whether the handler is supported on the current platform.
+
+ if the handler is supported; otherwise, .
To be added.
@@ -370,9 +372,18 @@ The default proxy is used only when System.TimeSpan
- To be added.
- To be added.
- To be added.
+ Gets or sets the keep alive ping delay.
+ The keep alive ping delay. Defaults to .
+
+ to check whether the connection is broken.
+
+Delay value must be greater than or equal to 1 second. Set to to disable the keep alive ping.
+
+ ]]>
@@ -391,9 +402,16 @@ The default proxy is used only when System.Net.Http.HttpKeepAlivePingPolicy
- To be added.
- To be added.
- To be added.
+ Gets or sets the keep alive ping behaviour.
+ The keep alive ping behaviour.
+
+ value.
+
+ ]]>
+
@@ -412,9 +430,18 @@ The default proxy is used only when System.TimeSpan
- To be added.
- To be added.
- To be added.
+ Gets or sets the keep alive ping timeout.
+ The keep alive ping timeout. Defaults to 20 seconds.
+
+ value. The client will close the connection if it doesn't receive any frames within the timeout.
+
+Timeout must be greater than or equal to 1 second. Set to to disable the keep alive ping timeout.
+
+ ]]>
+
@@ -665,8 +692,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
System.Net.Http.HeaderEncodingSelector<System.Net.Http.HttpRequestMessage>
- To be added.
- To be added.
+ Gets or sets a callback that decodes request headers values.
+ The header encoding selector callback to decode the value for the specified response header name, or to indicate the default behavior.
To be added.
@@ -715,8 +742,8 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
System.Net.Http.HeaderEncodingSelector<System.Net.Http.HttpRequestMessage>
- To be added.
- To be added.
+ Gets or sets a callback that decodes response headers values.
+ The header encoding selector callback to decode the value for the specified response header name, or to indicate the default behavior.
To be added.
diff --git a/xml/System.Net.Sockets/SocketTaskExtensions.xml b/xml/System.Net.Sockets/SocketTaskExtensions.xml
index b718f3e8bfc..e2d5416be8d 100644
--- a/xml/System.Net.Sockets/SocketTaskExtensions.xml
+++ b/xml/System.Net.Sockets/SocketTaskExtensions.xml
@@ -205,11 +205,11 @@
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The socket that is used for establishing a connection.
+ An EndPoint that represents the remote device.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Establishes a connection to a remote host.
+ A task that represents the asynchronous connection operation.
To be added.
@@ -258,7 +258,7 @@
The IP address of the remote host.
The port number of the remote host.
Establishes a connection to a remote host. The host is specified by an IP address and a port number.
- To be added.
+ A task that represents an asynchronous connection operation.
To be added.
@@ -385,12 +385,12 @@
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The socket to perform the connect operation on.
+ The IP address of the remote host.
+ The port number of the remote host.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Establishes a connection to a remote host, which is specified by an IP address and a port number.
+ A task that represents the asynchronous connection operation.
To be added.
@@ -419,12 +419,12 @@
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The socket that the connect operation is performed on.
+ The IP addresses of the remote host.
+ The port number of the remote host.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Establishes a connection to a remote host, which is specified by an array of IP addresses and a port number.
+ A task that represents the asynchronous connection operation.
To be added.
@@ -453,12 +453,12 @@
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The socket to perform the connect operation on.
+ The name of the remote host.
+ The port number of the remote host.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Establishes a connection to a remote host, which is specified by a host name and a port number.
+ A task that represents an asynchronous connection operation.
To be added.
diff --git a/xml/System.Net.Sockets/TcpClient.xml b/xml/System.Net.Sockets/TcpClient.xml
index 8ea3b6af2f5..913e51e7030 100644
--- a/xml/System.Net.Sockets/TcpClient.xml
+++ b/xml/System.Net.Sockets/TcpClient.xml
@@ -1296,12 +1296,33 @@ The `Available` property is a way to determine whether data is queued for readin
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The IP address of the remote host.
+ The port number of the remote host.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Connects the client to a remote TCP host using the specified IP address and port number as an asynchronous operation.
+ A task that represents the asynchronous connection operation.
+
+ method to obtain the underlying . Use this `NetworkStream` to send and receive data.
+
+> [!NOTE]
+> If you receive a , use to obtain the specific error code. After you have obtained this code, you can refer to the [Windows Sockets version 2 API error code](/windows/desktop/winsock/windows-sockets-error-codes-2) documentation for a detailed description of the error.
+
+> [!NOTE]
+> This member outputs trace information when you enable network tracing in your application. For more information, see [Network Tracing in the .NET Framework](/dotnet/framework/network-programming/network-tracing).
+
+ ]]>
+
+ The parameter is .
+ The is not between and .
+ An error occurred when accessing the socket.
+
+ is closed.
+
@@ -1328,12 +1349,34 @@ The `Available` property is a way to determine whether data is queued for readin
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The array of IP address of the remote host.
+ The port number of the remote host.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Connects the client to a remote TCP host using the specified IP addresses and port number as an asynchronous operation.
+ A task that represents the asynchronous connection operation.
+
+ method, which can return multiple IP addresses for a single host. Call this method to establish a synchronous remote host connection to the host specified by the array of IP addresses and the port number as an asynchronous operation. After connecting with the remote host, use the method to obtain the underlying . Use this `NetworkStream` to send and receive data.
+
+> [!NOTE]
+> If you receive a , use to obtain the specific error code. After you have obtained this code, you can refer to the [Windows Sockets version 2 API error code](/windows/desktop/winsock/windows-sockets-error-codes-2) documentation for a detailed description of the error.
+
+> [!NOTE]
+> This member outputs trace information when you enable network tracing in your application. For more information, see [Network Tracing in the .NET Framework](/dotnet/framework/network-programming/network-tracing).
+
+ ]]>
+
+ The parameter is .
+ The port number is not valid.
+ An error occurred when attempting to access the socket.
+ The has been closed.
+ A caller higher in the call stack does not have permission for the requested operation.
+ This method is valid for sockets that use the flag or the flag.
+
@@ -1360,12 +1403,36 @@ The `Available` property is a way to determine whether data is queued for readin
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
- To be added.
+ The DNS name of the remote host.
+ The port number of the remote host.
+ A cancellation token that can be used to signal the asynchronous operation should be canceled.
+ Connects the client to the specified TCP port on the specified host as an asynchronous operation.
+ A task that represents the asynchronous connection operation.
+
+ method to obtain the underlying . Use this `NetworkStream` to send and receive data.
+
+ If IPv6 is enabled and the method is called to connect to a host that resolves to both IPv6 and IPv4 addresses, the connection to the IPv6 address will be attempted first before the IPv4 address. This may have the effect of delaying the time to establish the connection if the host is not listening on the IPv6 address.
+
+> [!NOTE]
+> If you receive a , use to obtain the specific error code. After you have obtained this code, you can refer to the [Windows Sockets version 2 API error code](/windows/desktop/winsock/windows-sockets-error-codes-2) documentation for a detailed description of the error.
+
+> [!NOTE]
+> This member outputs trace information when you enable network tracing in your application. For more information, see [Network Tracing in the .NET Framework](/dotnet/framework/network-programming/network-tracing).
+
+ ]]>
+
+ The parameter is .
+ The parameter is not between and .
+ An error occurred when accessing the socket.
+
+ is closed.
+
+