MCPcopy Index your code
hub / github.com/hydro-dev/Hydro / send

Method send

framework/framework/server.ts:643–645  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

641 stream.end();
642 },
643 send(data: any) {
644 stream.write(`${args.sse ? 'data: ' : ''}${data}\n${args.sse ? '\n' : ''}`);
645 },
646 };
647 }
648 ctx.handler = h;

Callers 5

prepareMethod · 0.45
messageMethod · 0.45
resetCompressionMethod · 0.45
sendMethod · 0.45
handleWSMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected