NodehttpOutgoingMessage.prototype.setTimeoutmethod OutgoingMessage.prototype.setTimeout#OutgoingMessage.prototype.setTimeout(msecs: number,callback?: () => void,): thisOnce a socket is associated with the message and is connected, socket.setTimeout() will be called with msecs as the first parameter. Parameters ##msecs: numberoptional#callback: () => voidOptional function to be called when a timeout occurs. Same as binding to the timeout event. Return Type #this
method OutgoingMessage.prototype.setTimeout#OutgoingMessage.prototype.setTimeout(msecs: number,callback?: () => void,): thisOnce a socket is associated with the message and is connected, socket.setTimeout() will be called with msecs as the first parameter. Parameters ##msecs: numberoptional#callback: () => voidOptional function to be called when a timeout occurs. Same as binding to the timeout event. Return Type #this