request.setTimeout(timeout[, callback])
Once a socket is assigned to this request and is connected socket.setTimeout()
will be called.
-
timeout
{Number} Milliseconds before a request is considered to be timed out. -
callback
{Function} Optional function to be called when a timeout occurs. Same as binding to thetimeout
event.
Please login to continue.