Function getWebSocket

  • 获取 websocket 实例

    Returns WebSocket | undefined

    getWebSocket(); /// [websocket object]