.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the WebSocketClient.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_WebSocketClient: WebSocketClient =============== **Inherits:** :ref:`WebSocketMultiplayerPeer` **<** :ref:`NetworkedMultiplayerPeer` **<** :ref:`PacketPeer` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`connect_to_url` **(** :ref:`String` url, :ref:`PoolStringArray` protocols=PoolStringArray( ), :ref:`bool` gd_mp_api=false **)** | +------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`disconnect_from_host` **(** **)** | +------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Signals ------- .. _class_WebSocketClient_connection_closed: - **connection_closed** **(** **)** .. _class_WebSocketClient_connection_error: - **connection_error** **(** **)** .. _class_WebSocketClient_connection_established: - **connection_established** **(** :ref:`String` protocol **)** .. _class_WebSocketClient_data_received: - **data_received** **(** **)** Member Variables ---------------- .. _class_WebSocketClient_verify_ssl: - :ref:`bool` **verify_ssl** Member Function Description --------------------------- .. _class_WebSocketClient_connect_to_url: - :ref:`int` **connect_to_url** **(** :ref:`String` url, :ref:`PoolStringArray` protocols=PoolStringArray( ), :ref:`bool` gd_mp_api=false **)** .. _class_WebSocketClient_disconnect_from_host: - void **disconnect_from_host** **(** **)**