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)
Please login to continue.