property
Serve.HostnamePortServeOptions.http2
http2?: boolean
Also serve HTTP/2 on the same port. With tls, clients that offer "h2" via ALPN get HTTP/2 and everyone else gets HTTP/1.1; without it, connections that open with the HTTP/2 preface ("prior knowledge") get HTTP/2.