Http2ServerConnectionOptions
Http2ServerConnectionOptions =
object
Defined in: packages/net-http/src/h2/http2-server-connection.ts:33
Construction options for Http2ServerConnection.
Properties
Section titled “Properties”connection
Section titled “connection”
readonlyconnection:TransportConnection
Defined in: packages/net-http/src/h2/http2-server-connection.ts:38
An accepted connection that negotiated h2, or spoke it with prior
knowledge.
handler
Section titled “handler”
readonlyhandler:HttpHandler
Defined in: packages/net-http/src/h2/http2-server-connection.ts:40
idleTimeoutMs
Section titled “idleTimeoutMs”
readonlyidleTimeoutMs:number
Defined in: packages/net-http/src/h2/http2-server-connection.ts:53
How long, in milliseconds, the connection may stay without an open stream
before it is closed with GOAWAY. Required.
limits
Section titled “limits”
readonlylimits:Http2Limits
Defined in: packages/net-http/src/h2/http2-server-connection.ts:56
The HTTP/2 limits advertised to the client. Required.
maxHeadSize
Section titled “maxHeadSize”
readonlymaxHeadSize:number
Defined in: packages/net-http/src/h2/http2-server-connection.ts:47
Largest request field section accepted, counted as RFC 9113 §6.5.2 counts
it (SETTINGS_MAX_HEADER_LIST_SIZE); a larger one is answered with 431.
Required.