diff --git a/doc/api/http2.md b/doc/api/http2.md index 8b3ce0aad24d3f..0b91e2b36aa267 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2890,6 +2890,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`