reconnectIntervalInMs in millisecond, maxReconnectAttempts in number and ws url
used to broadcast the acp messages to other tabs.
message to broadcast
This method to perform the different actions on callback response
used to unsubscribe events and clear props.
used to connect to the socket.
websocketServer uri
used to unsubscribe and disconnect to socket events.
Use to initializing the web socket worker and will return the method inside the worker
AAH provider
Use to initializing the web socket worker and will return the method inside the worker
on websocket close.
callback for when error received
message
Callback method when a connection is open and ready to send and receive data
Callback method when a ws reconnect attempts in progress
Callback method when a ws reconnect attempts are completed
Callback method when a ws reconnect attempts was successful
method to parse the response
@example
const AgentAssistMessageResponse = new AgentAssistMessageResponse();
used to Reconnect to the socket.
Method to send to websocket worker
message send to websocket
Subscribe to events.
used to subscribe to socket events.
topic to subscribe
Use to terminate the web socket worker
Generated using TypeDoc
web socket class for agent copilot