Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-04-20 16:59:48 +0300
committerMichaƫl Zasso <targos@protonmail.com>2022-04-28 07:56:14 +0300
commitb7e9dd0278f34724f2d09ccdd6475e06395935b9 (patch)
tree40bcd8a4a51d363d57df92409934d8b7717e814c /src
parent3d65a3b13e61f136dc09027aa12473c2b3003725 (diff)
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 <mestery@protonmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/node_http_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http_common.h b/src/node_http_common.h
index ad9f2a864e0..4440b5c58d9 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") \