Constructors
Properties
Accessors
id
- get id(): number
Returns number
webSocket
- get webSocket(): WebSocket
Returns WebSocket
Methods
close
- close(reason?): void
Returns void
releaseWebSocket
- releaseWebSocket(): WebSocket
Returns WebSocket
sendAuthenticationResponseMessage
- sendAuthenticationResponseMessage(response): Promise<void>
Returns Promise<void>
sendRegisterMessage
- sendRegisterMessage(publicKey): Promise<void>
Returns Promise<void>
startPingPong
- startPingPong(pingInterval, pongTimeout): void
Parameters
- pingInterval: number
- pongTimeout: number
Returns void
stopPingPong
- stopPingPong(): void
Returns void
terminate
- terminate(reason?): void
Returns void
This class implements the client side of communication server communication