Skip to content

Http1ClientConnectionEvents

Http1ClientConnectionEvents = object

Defined in: packages/net-http/src/h1/http1-client-connection.ts:53

Events emitted by an Http1ClientConnection.

close: []

Defined in: packages/net-http/src/h1/http1-client-connection.ts:61

The connection closed, or left HTTP through a tunnel. Emitted once.


idle: []

Defined in: packages/net-http/src/h1/http1-client-connection.ts:58

The last exchange completed — its request sent and its response body read to the end — and the connection can carry another request.