MCPcopy Index your code
hub / github.com/oakserver/oak / respond

Method respond

types.ts:25–25  ·  view source on GitHub ↗
(response: Response)

Source from the content-addressed store, hash-verified

23 error(reason?: any): void;
24 getBody(): ReadableStream<Uint8ArrayArrayBuffer> | null;
25 respond(response: Response): void | Promise<void>;
26 upgrade?(options?: UpgradeWebSocketOptions): WebSocket;
27}
28

Callers 5

fnFunction · 0.65
sendEventsMethod · 0.65
#handleRequestMethod · 0.65
fnFunction · 0.65
fnFunction · 0.65

Implementers 3

NativeRequesthttp_server_native_request.ts
BunRequesthttp_server_bun.ts
NodeRequesthttp_server_node.ts

Calls

no outgoing calls

Tested by 3

fnFunction · 0.52
fnFunction · 0.52
fnFunction · 0.52