MCPcopy Create free account
hub / github.com/Effect-TS/effect / close

Method close

packages/effect/src/socket/Socket.ts:806–806  ·  view source on GitHub ↗
(code?: number, reason?: string)

Source from the content-addressed store, hash-verified

804 listener: (event: WebSocketEvent) => void
805 ): void
806 close(code?: number, reason?: string): void
807 send(data: string | Uint8Array<ArrayBuffer>): void
808}
809

Callers 15

encodeFunction · 0.65
encodeFunction · 0.65
deflateFunction · 0.65
deflateBytesFunction · 0.65
HttpApiTest.tsFile · 0.65
Atom.tsFile · 0.65
makeWithTransactionFunction · 0.65
finishBodyMethod · 0.65
scopeTransferToStreamFunction · 0.65
disposeFunction · 0.65
startFunction · 0.65
replyFunction · 0.65

Implementers 2

FakeWebSocketpackages/ai/openai/test/OpenAiTranscri
TestWebSocketpackages/effect/test/socket/Socket.tes

Calls

no outgoing calls

Tested by

no test coverage detected