Http2Limits 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.
Limits only applicable to HTTP/2 connections.
public ref class Http2Limits
public class Http2Limits
type Http2Limits = class
Public Class Http2Limits
- Inheritance
-
Http2Limits
Constructors
Http2Limits() |
Properties
HeaderTableSize |
Limits the size of the header compression tables, in octets, the HPACK encoder and decoder on the server can use. Value must be greater than or equal to 0, defaults to 4096 octets (4 KiB). |
InitialConnectionWindowSize |
Indicates how much request body data, in bytes, the server is willing to receive and buffer at a time aggregated across all requests (streams) per connection. Note requests are also limited by InitialStreamWindowSize Value must be greater than or equal to 64 KiB and less than 2 GiB, defaults to 1 MiB. |
InitialStreamWindowSize |
Indicates how much request body data, in bytes, the server is willing to receive and buffer at a time per stream. Note connections are also limited by InitialConnectionWindowSize. There must be space in both the stream window and connection window for a client to upload request body data. Value must be greater than or equal to 64 KiB and less than 2 GiB, defaults to 768 KiB. |
KeepAlivePingDelay |
Gets or sets the keep alive ping delay. The server will send a keep alive ping to the client if it doesn't receive any frames on a connection for this period of time. This property is used together with KeepAlivePingTimeout to close broken connections. Delay value must be greater than or equal to 1 second. Set to MaxValue to disable the keep alive ping. Defaults to MaxValue. |
KeepAlivePingTimeout |
Gets or sets the keep alive ping timeout. Keep alive pings are sent when a period of inactivity exceeds the configured KeepAlivePingDelay value. The server 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 MaxValue to disable the keep alive ping timeout. Defaults to 20 seconds. |
MaxFrameSize |
Indicates the size of the largest frame payload that is allowed to be received, in octets. The size must be between 2^14 and 2^24-1. Value must be between 2^14 and 2^24, defaults to 2^14 octets (16 KiB). |
MaxRequestHeaderFieldSize |
Indicates the size of the maximum allowed size of a request header field sequence, in octets. This limit applies to both name and value sequences in their compressed and uncompressed representations. Value must be greater than 0, defaults to 2^14 octets (16 KiB). |
MaxStreamsPerConnection |
Limits the number of concurrent request streams per HTTP/2 connection. Excess streams will be refused. Value must be greater than 0, defaults to 100 streams. |