MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/functions-framework-nodejs / set

Method set

test/function_wrappers.ts:40–42  ·  view source on GitHub ↗
(header: string, value: string)

Source from the content-addressed store, hash-verified

38 };
39
40 set(header: string, value: string) {
41 this.headers[header.toLowerCase()] = value;
42 }
43
44 status(status: number) {
45 this.statusCode = status;

Callers 6

http.tsFile · 0.80
legacy_event.tsFile · 0.80
cloud_event.tsFile · 0.80
registerFunction · 0.80
sendCrashResponseFunction · 0.80
getServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected