MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / close

Method close

src/shared/socket/types.ts:43–43  ·  view source on GitHub ↗
(code?: number, reason?: string)

Source from the content-addressed store, hash-verified

41 onopen: CB;
42 send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
43 close(code?: number, reason?: string): void;
44 readyState: number;
45}
46type CB = ((ev: any) => any) | null;

Callers 14

AppClass · 0.65
startupFunction · 0.65
closeFunction · 0.65
canReadWriteFunction · 0.65
downloadFileFunction · 0.65
disconnectMethod · 0.65
reconnectMethod · 0.65
onErrorMethod · 0.65
closeMethod · 0.65
onConnectMethod · 0.65
registerRequestCallbacksFunction · 0.65
FileServerClass · 0.65

Implementers 1

SocketServersrc/back/SocketServer.ts

Calls

no outgoing calls

Tested by

no test coverage detected