method Http2Session.setTimeout
Jump to headingHttp2Session.setTimeout(msecs: number,callback?: () => void,): void
Used to set a callback function that is called when there is no activity on
the Http2Session
after msecs
milliseconds. The given callback
is
registered as a listener on the 'timeout'
event.
Parameters Jump to heading
Jump to headingmsecs: number
optional
Jump to headingcallback: () => void
Return Type Jump to heading
void