SocketsHttpHandlerOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a state bag of settings for configuring SocketsHttpHandler.
public ref class SocketsHttpHandlerOptions
public class SocketsHttpHandlerOptions
type SocketsHttpHandlerOptions = class
Public Class SocketsHttpHandlerOptions
- Inheritance
-
SocketsHttpHandlerOptions
Constructors
SocketsHttpHandlerOptions() |
Properties
AllowAutoRedirect |
Gets or sets a value indicating whether to automatically follow redirection responses. |
AutomaticDecompression |
Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. |
ConnectTimeout |
Gets or sets the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. |
KeepAlivePingDelay |
Gets or sets the keep alive ping delay. |
KeepAlivePingTimeout |
Gets or sets the keep alive ping timeout. |
MaxConnectionsPerServer |
Gets or sets the maximum number of concurrent connections (per server endpoint) allowed when making requests. |
PooledConnectionIdleTimeout |
Gets or sets how long a connection can be idle in the pool to be considered reusable. |
PooledConnectionLifetime |
Gets or sets how long a connection can be in the pool to be considered reusable. |
UseCookies |
Gets or sets a value indicating whether to use cookies when sending requests. |