MCPcopy Index your code
hub / github.com/hapijs/hapi / _updateCommons

Method _updateCommons

lib/compression.js:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 _updateCommons() {
38
39 this.#common = new Map();
40
41 for (const header of internals.common) {
42 this.#common.set(header, Accept.encoding(header, this.encodings));
43 }
44 }
45
46 addEncoder(encoding, encoder) {
47

Callers 2

constructorMethod · 0.80
addEncoderMethod · 0.80

Calls 1

encodingMethod · 0.65

Tested by

no test coverage detected