Http1ServerConnectionOptions
Http1ServerConnectionOptions =
object
Defined in: packages/net-http/src/h1/http1-server-connection.ts:31
Construction options for Http1ServerConnection.
Properties
Section titled “Properties”connection
Section titled “connection”
readonlyconnection:TransportConnection
Defined in: packages/net-http/src/h1/http1-server-connection.ts:33
An accepted connection that negotiated HTTP/1.1, or nothing.
handler
Section titled “handler”
readonlyhandler:HttpHandler
Defined in: packages/net-http/src/h1/http1-server-connection.ts:35
idleTimeoutMs
Section titled “idleTimeoutMs”
readonlyidleTimeoutMs:number
Defined in: packages/net-http/src/h1/http1-server-connection.ts:48
How long, in milliseconds, the connection may wait for the next request head to arrive complete while no request is being handled. Bounds both idle keep-alive connections and heads sent a byte at a time. Required.
maxHeadSize
Section titled “maxHeadSize”
readonlymaxHeadSize:number
Defined in: packages/net-http/src/h1/http1-server-connection.ts:41
Largest request head accepted, in bytes; a larger one is answered with
431. Required: it bounds what a client can make the server buffer.