Create an instance of WebPubSubClient
The uri to connect
Optional
options: WebPubSubClientOptionsThe client options
Create an instance of WebPubSubClient
The credential to use when connecting
Optional
options: WebPubSubClientOptionsThe client options
Join the client to group
The group name
Optional
options: JoinGroupOptionsThe join group options
Leave the client from group
The group name
Optional
options: LeaveGroupOptionsRemove handler for connected event
The event name
The handler
Remove handler for disconnected event
The event name
The handler
Remove handler for stopped event
The event name
The handler
Remove handler for server message
The event name
The handler
Remove handler for group message
The event name
The handler
Remove handler for rejoining group failed
The event name
The handler
Add handler for connected event
The event name
The handler
Add handler for disconnected event
The event name
The handler
Add handler for stopped event
The event name
The handler
Add handler for server messages
The event name
The handler
Add handler for group messags
The event name
The handler
Add handler for rejoining group failed
The event name
The handler
Send custom event to server
The event name
The data content
The data type
Optional
options: SendEventOptionsThe options
Send message to group.
The group name
The data content
The data type
Optional
options: SendToGroupOptionsThe options
Start to start to the service.
Optional
options: StartOptionsGenerated using TypeDoc
The WebPubSub client