Http2Server 类


Http2Server 的实例是使用 http2.createServer() 函数创建的。 Http2Server 类不是由 http2 模块直接导出的。

Instances of Http2Server are created using the http2.createServer() function. The Http2Server class is not exported directly by the http2 module.