Is your feature request related to a problem? Please describe.
|
const kSensitiveHeaders = Symbol('nodejs.http2.sensitiveHeaders'); |
Currently to use the symbol we need to import it from the http2 module. A better solution would be to use Symbol.for like in the case of custom inspect symbol.
Describe the solution you'd like
-const kSensitiveHeaders = Symbol('nodejs.http2.sensitiveHeaders');
+const kSensitiveHeaders = Symbol.for('nodejs.http2.sensitiveHeaders');
Describe alternatives you've considered
None.