http2.performServerHandshake(socket[, options])
-
socket
<stream.Duplex> -
options
<Object> 可以提供任何http2.createServer()
选项。¥
options
<Object> Anyhttp2.createServer()
option can be provided. -
¥Returns: <ServerHttp2Session>
从现有套接字创建 HTTP/2 服务器会话。
¥Create an HTTP/2 server session from an existing socket.