http2session.setTimeout(msecs, callback)
msecs<number>callback<Function>
用于设置一个回调函数,当 Http2Session 在 msecs 毫秒后没有活动时调用。给定的 callback 会被注册为 'timeout' 事件的监听器。
【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.】