performServerHandshake

external fun performServerHandshake(socket: Duplex, options: ServerOptions = definedExternally): ServerHttp2Session(source)

Create an HTTP/2 server session from an existing socket.

Since

v20.12.0

Parameters

socket

A Duplex Stream

options

Any {@link createServer} options can be provided.