MCPcopy
hub / github.com/freshframework/fresh / open

Method open

packages/fresh/src/context.ts:41–41  ·  view source on GitHub ↗

Called when the WebSocket connection is established.

(socket: WebSocket)

Source from the content-addressed store, hash-verified

39export interface WebSocketHandlers {
40 /** Called when the WebSocket connection is established. */
41 open?(socket: WebSocket): void;
42 /** Called when a message is received. */
43 message?(socket: WebSocket, event: MessageEvent): void;
44 /** Called when the connection is closed. */

Callers 4

readFileMethod · 0.80
readFileMethod · 0.80
prepareStaticFileFunction · 0.80
configureServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected