Sys Options Class
public ref class HttpSysOptions
public class HttpSysOptions
type HttpSysOptions = class
Public Class HttpSysOptions
Gets or sets a value that controls whether synchronous IO is allowed for the HttpContext.Request.Body and HttpContext.Response.Body.
The default is
Http.Sys authentication settings. These may be modified at any time prior to disposing the listener.
Indicates how client certificates should be populated. The default is to allow renegotation. This does not change the netsh 'clientcertnegotiation' binding option which will need to be enabled for ClientCertificateMethod.AllowCertificate to resolve a certificate.
Attempts kernel mode caching for responses with eligible headers. The response may not include Set-Cookie, Vary, or Pragma headers. It must include a Cache-Control header with Public and either a Shared-Max-Age or Max-Age value, or an Expires header.
Gets or sets a value that controls how http.sys reacts when rejecting requests due to throttling conditions - like when the request queue limit is reached. The default in http.sys is "Basic" which means http.sys is just resetting the TCP connection. IIS uses Limited as its default behavior which will result in sending back a 503 - Service Unavailable back to the client. This settings does not apply when attaching to an existing queue.
The maximum number of concurrent accepts.
Gets or sets the maximum number of concurrent connections to accept, -1 for infinite, or null to use the machine wide setting from the registry. The default value is null. This settings does not apply when attaching to an existing queue.
Gets or sets the maximum allowed size of any request body in bytes. When set to null, the maximum request body size is unlimited. This limit has no effect on upgraded connections which are always unlimited. This can be overridden per-request via IHttpMaxRequestBodySizeFeature.
Gets or sets the maximum number of requests that will be queued up in Http.Sys. This settings does not apply when attaching to an existing queue.
Indicates if this server instance is responsible for creating and configuring the request queue, of if it should attach to an existing queue. The default is to create.
The name of the Http.Sys request queue
Gets or Sets if response body writes that fail due to client disconnects should throw exceptions or complete normally. The default is false.
Exposes the Http.Sys timeout configurations. These may also be configured in the registry. These may be modified at any time prior to disposing the listener. These settings do not apply when attaching to an existing queue.
The url prefixes to register with Http.Sys. These may be modified at any time prior to disposing the listener. When attached to an existing queue the prefixes are only used to compute PathBase for requests.