node:http2

The built-in Node.js module for HTTP/2 servers and clients, built on the nghttp2 library.

In more detail

Its core API hands you each request as a stream event with its headers; stream.respond() sends the response headers. A compatibility API mimics node:http so existing handlers can run over HTTP/2.

Related terms

Taught in

References