Skip to content

@persistent-ai/fireflow-executor / server / createWSServer

Function: createWSServer() ​

createWSServer(options?): object

Defined in: packages/fireflow-executor/server/ws-server.ts:96

Parameters ​

options? ​

WSServerOptions = {}

Returns ​

object

aguiWss ​

aguiWss: Server<typeof WebSocket, typeof IncomingMessage> | null

handler ​

handler: object

handler.broadcastReconnectNotification ​

broadcastReconnectNotification: () => void

Returns ​

void

httpServer ​

httpServer: Server<typeof IncomingMessage, typeof ServerResponse>

shutdown ​

shutdown: () => void

Returns ​

void

wss ​

wss: Server<typeof WebSocket, typeof IncomingMessage> = trpcWss

Licensed under BUSL-1.1