MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / close

Method close

framework/framework/server.ts:640–642  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

638 ctx.compress = false;
639 conn = {
640 close() {
641 stream.end();
642 },
643 send(data: any) {
644 stream.write(`${args.sse ? 'data: ' : ''}${data}\n${args.sse ? '\n' : ''}`);
645 },

Callers 5

closeMethod · 0.45
constructorMethod · 0.45
listenMethod · 0.45
isPortFreeFunction · 0.45
StepsFunction · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected