diff --git a/doc/api/http2.md b/doc/api/http2.md index c45e5142ca753c..8c539819f2a748 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2875,6 +2875,19 @@ added: v8.4.0 Returns a [HTTP/2 Settings Object][] containing the deserialized settings from the given `Buffer` as generated by `http2.getPackedSettings()`. +### `http2.performServerHandshake(socket[, options])` + + + +* `socket` {stream.Duplex} +* `options` {Object} + * ...: Any [`http2.createServer()`][] option can be provided. +* Returns: {ServerHttp2Session} + +Create an HTTP/2 server session from an existing socket. + ### `http2.sensitiveHeaders`