2018-02-19 09:47:16 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2018-02-27 12:40:43 +00:00
|
|
|
<class name="WebSocketClient" inherits="WebSocketMultiplayerPeer" category="Core" version="3.1">
|
2018-02-19 09:47:16 +00:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="connect_to_url">
|
|
|
|
<return type="int" enum="Error">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="url" type="String">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="protocols" type="PoolStringArray" default="PoolStringArray( )">
|
|
|
|
</argument>
|
|
|
|
<argument index="2" name="gd_mp_api" type="bool" default="false">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="disconnect_from_host">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
2018-04-10 08:12:42 +00:00
|
|
|
<members>
|
|
|
|
<member name="verify_ssl" type="bool" setter="set_verify_ssl_enabled" getter="is_verify_ssl_enabled">
|
|
|
|
</member>
|
|
|
|
</members>
|
2018-02-19 09:47:16 +00:00
|
|
|
<signals>
|
|
|
|
<signal name="connection_closed">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="connection_error">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="connection_established">
|
|
|
|
<argument index="0" name="protocol" type="String">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="data_received">
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|