HttpHandlerContext
HttpHandlerContext =
object
Defined in: packages/net-http/src/message/http-message.ts:138
What a handler knows about the exchange beyond the request itself.
Properties
Section titled “Properties”
readonlylocal:TransportEndpoint|null
Defined in: packages/net-http/src/message/http-message.ts:148
remote
Section titled “remote”
readonlyremote:TransportEndpoint|null
Defined in: packages/net-http/src/message/http-message.ts:149
secure
Section titled “secure”
readonlysecure:boolean
Defined in: packages/net-http/src/message/http-message.ts:146
Whether the request arrived over TLS.
signal
Section titled “signal”
readonlysignal:AbortSignal
Defined in: packages/net-http/src/message/http-message.ts:143
Aborted when the response can no longer be delivered: the connection closed, or the server shut down forcibly.
Methods
Section titled “Methods”sendInformational()
Section titled “sendInformational()”sendInformational(
status,headers?):Promise<void>
Defined in: packages/net-http/src/message/http-message.ts:159
Send an interim response ahead of the final one: 103 Early Hints, or a
100 Continue the server did not already send. Ignored once the final
response started, and for an HTTP/1.0 client, which cannot receive one.
Parameters
Section titled “Parameters”status
Section titled “status”number
A 1xx status other than 101.
headers?
Section titled “headers?”HttpHeaders
Returns
Section titled “Returns”Promise<void>
Throws
Section titled “Throws”When status is not such a status.