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

Method store

src/llhttp/http.ts:1191–1199  ·  view source on GitHub ↗
(field: string, next?: string | Node)

Source from the content-addressed store, hash-verified

1189 }
1190
1191 private store(field: string, next?: string | Node): Node {
1192 const p = this.llparse;
1193
1194 const res = p.invoke(p.code.store(field));
1195 if (next !== undefined) {
1196 res.otherwise(this.node(next));
1197 }
1198 return res;
1199 }
1200
1201 private update(field: string, value: number, next?: string | Node): Node {
1202 const p = this.llparse;

Callers 2

buildLineMethod · 0.95
buildHeaderFieldMethod · 0.95

Calls 1

nodeMethod · 0.95

Tested by

no test coverage detected