@persistent-ai/fireflow-executor / server / createWSServer
Function: createWSServer()
createWSServer(
port?,host?,ssl?,aguiHandler?,aguiWSHandler?,sandboxProxyHandler?):object
Defined in: packages/fireflow-executor/server/ws-server.ts:38
Parameters
port?
number = 4021
host?
string = '0.0.0.0'
ssl?
certPath
string
enabled
boolean
keyPath
string
aguiHandler?
AgUIRequestHandler
aguiWSHandler?
AgUIWSConnectionHandler
sandboxProxyHandler?
SandboxProxyHandler
Returns
object
aguiWss
aguiWss:
Server<typeofWebSocket, typeofIncomingMessage> |null
handler
handler:
object
handler.broadcastReconnectNotification
broadcastReconnectNotification: () =>
void
Returns
void
httpServer
httpServer:
Server<typeofIncomingMessage, typeofServerResponse>
shutdown
shutdown: () =>
void
Returns
void
wss
wss:
Server<typeofWebSocket, typeofIncomingMessage> =trpcWss