ВОЙТИ

WebSocket

The WebSocket module

functions

VoxEngine.allowWebSocketConnections

VoxEngine.allowWebSocketConnections(): void

Allows the incoming WebSocket connection.

Returns

  • Return:

    void

VoxEngine.createWebSocket

VoxEngine.createWebSocket(url: string, protocols: string): WebSocket

Create a new outgoing WebSocket connection.

Parameters

  • url:

    string
  • protocols:

    string
    OPTIONAL

Returns