MCPcopy Index your code
hub / github.com/nodejs/llhttp / load

Method load

src/llhttp/http.ts:1180–1189  ·  view source on GitHub ↗
(field: string, map: Record<number, Node>,
               next?: string | Node)

Source from the content-addressed store, hash-verified

1178 }
1179
1180 private load(field: string, map: Record<number, Node>,
1181 next?: string | Node): Node {
1182 const p = this.llparse;
1183
1184 const res = p.invoke(p.code.load(field), map);
1185 if (next !== undefined) {
1186 res.otherwise(this.node(next));
1187 }
1188 return res;
1189 }
1190
1191 private store(field: string, next?: string | Node): Node {
1192 const p = this.llparse;

Callers 7

buildLineMethod · 0.95
checkVersionMethod · 0.95
checkMethodMethod · 0.95
buildHeaderFieldMethod · 0.95
buildHeaderValueMethod · 0.95
setHeaderFlagsMethod · 0.95

Calls 1

nodeMethod · 0.95

Tested by

no test coverage detected