(options, requestListener)
| 3496 | |
| 3497 | class Http2Server extends NETServer { |
| 3498 | constructor(options, requestListener) { |
| 3499 | options = initializeOptions(options); |
| 3500 | super(options, connectionListener); |
| 3501 | this[kOptions] = options; |
| 3502 | this[kSessions] = new SafeSet(); |
| 3503 | this.timeout = 0; |
| 3504 | this.on('newListener', setupCompat); |
| 3505 | if (typeof requestListener === 'function') |
| 3506 | this.on('request', requestListener); |
| 3507 | } |
| 3508 | |
| 3509 | setTimeout(msecs, callback) { |
| 3510 | this.timeout = msecs; |
nothing calls this directly
no test coverage detected