method IncomingMessage.prototype.setTimeoutIncomingMessage.prototype.setTimeout(msecs: number,callback?: () => void,): thisDeprecatedCalls message.socket.setTimeout(msecs, callback). Parametersmsecs: numberoptionalcallback: () => voidReturn Typethis