Node.js v18.12.1 documentation


Table of contents

HTTP/2#

Stability: 2 - Stable

Source Code: lib/http2.js

The node:http2 module provides an implementation of the HTTP/2 protocol. node:http2模块提供了HTTP/2协议的实现。It can be accessed using:可通过以下方式访问:

const http2 = require('node:http2');