diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml index 72e07271b50..9a2aaa89235 100644 --- a/xml/System.Net.Http/SocketsHttpHandler.xml +++ b/xml/System.Net.Http/SocketsHttpHandler.xml @@ -70,7 +70,7 @@ If this change is undesirable, you can configure your application to use the old - To be added. + Creates an instance of a class. To be added. @@ -92,9 +92,25 @@ If this change is undesirable, you can configure your application to use the old System.Boolean - To be added. - To be added. - To be added. + Gets or sets a value that indicates whether the handler should follow redirection responses. + + if the handler should follow redirection responses; otherwise . The default value is . + + + to `true` if you want the handler to automatically follow HTTP redirection headers to the new location of the resource. The maximum number of redirections to follow is set by the property. + + If is set to `false`, all HTTP responses with an HTTP status code from 300 to 399 are returned to the application. + + The Authorization header is cleared on auto-redirects and the handler automatically tries to re-authenticate to the redirected location. In practice, this means that an application can't put custom authentication information into the Authorization header if it is possible to encounter redirection. Instead, the application must implement and register a custom authentication module. + +> [!NOTE] +> The handler never follows a redirection from HTTPS to HTTP even if is set to `true`. + + ]]> + @@ -138,8 +154,8 @@ If this change is undesirable, you can configure your application to use the old System.TimeSpan - To be added. - To be added. + Gets or sets the timespan to wait before the connection establishing times out. + The timespan to wait before the connection establishing times out. The default value is . To be added. @@ -184,8 +200,8 @@ If this change is undesirable, you can configure your application to use the old System.Net.ICredentials - To be added. - To be added. + Gets or sets authentication information used by this handler. + The authentication credentials associated with the handler. The default value is . To be added. @@ -262,9 +278,15 @@ The default proxy is used only when System.TimeSpan - To be added. - To be added. - To be added. + Gets or sets the time-out value for server HTTP 100 Continue response. + The timespan to wait for the HTTP 100 Continue. The default value is 1 second. + + define the timeout for the `100 Continue` server response. + + ]]> @@ -415,9 +437,18 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r System.TimeSpan - To be added. - To be added. - To be added. + Gets or sets how long a connection can be the pool to be considered reusable. + The maximum time for a connection to be in the pool. The default value for this property is . + . + + ]]> + + The value specified is less than or is equal to . @@ -508,9 +539,15 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r System.TimeSpan - To be added. - To be added. - To be added. + Gets or sets the timespan to wait for data to be drained from responses. + The timespan to wait for data to be drained from responses. + + + @@ -583,8 +620,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r System.Boolean - To be added. - To be added. + Gets or sets a value that indicates whether the handler should use cookies. + A value that indicates whether the handler should use cookies. To be added. @@ -606,8 +643,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r System.Boolean - To be added. - To be added. + Gets or sets a value that indicates whether the handler should use a proxy. + A value that indicates whether the handler should use a proxy. To be added.