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

Method write

src/functions.ts:174–174  ·  view source on GitHub ↗

Writes a chunk of data to the response.

(data: string | Buffer)

Source from the content-addressed store, hash-verified

172 setHeader(key: string, value: string): void;
173 /** Writes a chunk of data to the response. */
174 write(data: string | Buffer): void;
175 /** Ends the response, must be called once at the end of writing. */
176 end(data: string | Buffer): void;
177}

Callers 1

logger.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected