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="WebSocketPeer" inherits="PacketPeer" 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="close">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_write_mode" qualifiers="const">
|
|
|
|
<return type="int" enum="WebSocketPeer.WriteMode">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_connected_to_host" qualifiers="const">
|
|
|
|
<return type="bool">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_write_mode">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="mode" type="int" enum="WebSocketPeer.WriteMode">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="was_string_packet" qualifiers="const">
|
|
|
|
<return type="bool">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
<constant name="WRITE_MODE_TEXT" value="0" enum="WriteMode">
|
|
|
|
</constant>
|
|
|
|
<constant name="WRITE_MODE_BINARY" value="1" enum="WriteMode">
|
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|