Emitted when the request has been aborted by the client.
Emitted when the request has been aborted by the client. This event is only emitted on the first call to abort().
Emitted when the request has been aborted by the server and the network socket has closed.
Emitted when the request has been aborted by the server and the network socket has closed.
Emitted each time a server responds to a request with a CONNECT method.
Emitted each time a server responds to a request with a CONNECT method. If this event is not being listened for, clients receiving a CONNECT method will have their connections closed. - response <http.IncomingMessage> - socket <net.Socket> - head <Buffer>
Emitted when the server sends a '100 Continue' HTTP response, usually because the request contained 'Expect: 100-continue'.
Emitted when the server sends a '100 Continue' HTTP response, usually because the request contained 'Expect: 100-continue'. This is an instruction that the client should send the request body.
Emitted when a response is received to this request.
Emitted when a response is received to this request. This event is emitted only once. The response argument will be an instance of http.IncomingMessage. - response <http.IncomingMessage>
Emitted after a socket is assigned to this request.
Emitted after a socket is assigned to this request. - socket <net.Socket>
Emitted each time a server responds to a request with an upgrade.
Emitted each time a server responds to a request with an upgrade. If this event isn't being listened for, clients receiving an upgrade header will have their connections closed. - response <http.IncomingMessage> - socket <net.Socket> - head <Buffer>
Client Request Events