HttpRequestOptions
HttpRequestOptions =
object
Defined in: packages/net-http/src/h1/http1-client-connection.ts:40
Per-request options for Http1ClientConnection.request.
Properties
Section titled “Properties”onInformational?
Section titled “onInformational?”
readonlyoptionalonInformational?: (status,headers) =>void
Defined in: packages/net-http/src/h1/http1-client-connection.ts:49
Called for each interim (1xx) response ahead of the final one.
Parameters
Section titled “Parameters”status
Section titled “status”number
headers
Section titled “headers”HttpHeaders
Returns
Section titled “Returns”void
signal?
Section titled “signal?”
readonlyoptionalsignal?:AbortSignal
Defined in: packages/net-http/src/h1/http1-client-connection.ts:46
Abandons the exchange. Over HTTP/1.x that can only be done by closing the connection, so aborting destroys it; over HTTP/2 it resets the request’s stream only.