From a4dbef4ad8d17d4b684ff92d7b6709d557e023bc Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 20 Apr 2022 15:59:48 +0200 Subject: [PATCH] src: use `node:` prefix in example Refs: https://github.com/nodejs/node/pull/42752 PR-URL: https://github.com/nodejs/node/pull/42794 Reviewed-By: Mestery Reviewed-By: Rafael Gonzaga Reviewed-By: Paolo Insogna Reviewed-By: Rich Trott --- src/node_http_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_http_common.h b/src/node_http_common.h index ad9f2a864e0af9..4440b5c58d93d7 100644 --- a/src/node_http_common.h +++ b/src/node_http_common.h @@ -196,7 +196,7 @@ enum http_status_codes { // Unlike the HTTP/1 implementation, the HTTP/2 implementation is not limited // to a fixed number of known supported HTTP methods. These constants, therefore // are provided strictly as a convenience to users and are exposed via the -// require('http2').constants object. +// require('node:http2').constants object. #define HTTP_KNOWN_METHODS(V) \ V(ACL, "ACL") \ V(BASELINE_CONTROL, "BASELINE-CONTROL") \