response event (http.ClientRequest)

Event: 'response'

function (response) { }

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.

Options:

  • host: A domain name or IP address of the server to issue the request to.
  • port: Port of remote server.
  • socketPath: Unix Domain Socket (use one of host:port or socketPath)
doc_Nodejs
2016-04-30 04:42:09
Comments
Leave a Comment

Please login to continue.