classref: Sync with current code

This commit is contained in:
Rémi Verschelde 2017-01-08 12:36:38 +01:00
parent 1e646e2797
commit 40de567297

View file

@ -15177,6 +15177,12 @@
Set connection to use, for this client. Set connection to use, for this client.
</description> </description>
</method> </method>
<method name="set_ip_type">
<argument index="0" name="ip_type" type="int">
</argument>
<description>
</description>
</method>
<method name="set_read_chunk_size"> <method name="set_read_chunk_size">
<argument index="0" name="bytes" type="int"> <argument index="0" name="bytes" type="int">
</argument> </argument>
@ -15420,6 +15426,12 @@
Set the file to download into. Outputs the response body into the file. Set the file to download into. Outputs the response body into the file.
</description> </description>
</method> </method>
<method name="set_ip_type">
<argument index="0" name="ip_type" type="int">
</argument>
<description>
</description>
</method>
<method name="set_max_redirects"> <method name="set_max_redirects">
<argument index="0" name="amount" type="int"> <argument index="0" name="amount" type="int">
</argument> </argument>
@ -15562,6 +15574,12 @@
IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded. IP contains some support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded.
</description> </description>
<methods> <methods>
<method name="clear_cache">
<argument index="0" name="arg0" type="String" default="&quot;&quot;">
</argument>
<description>
</description>
</method>
<method name="erase_resolve_item"> <method name="erase_resolve_item">
<argument index="0" name="id" type="int"> <argument index="0" name="id" type="int">
</argument> </argument>
@ -15598,7 +15616,7 @@
</return> </return>
<argument index="0" name="host" type="String"> <argument index="0" name="host" type="String">
</argument> </argument>
<argument index="1" name="ip_type" type="int" default="IP.TYPE_ANY"> <argument index="1" name="ip_type" type="int" default="3">
</argument> </argument>
<description> <description>
Resolve a given hostname, blocking. Resolved hostname is returned as an IPv4 or IPv6 depending on "ip_type". Resolve a given hostname, blocking. Resolved hostname is returned as an IPv4 or IPv6 depending on "ip_type".
@ -15609,7 +15627,7 @@
</return> </return>
<argument index="0" name="host" type="String"> <argument index="0" name="host" type="String">
</argument> </argument>
<argument index="1" name="ip_type" type="int" default="IP.TYPE_ANY"> <argument index="1" name="ip_type" type="int" default="3">
</argument> </argument>
<description> <description>
Create a queue item for resolving a given hostname to an IPv4 or IPv6 depending on "ip_type". The queue ID is returned, or RESOLVER_INVALID_ID on error. Create a queue item for resolving a given hostname to an IPv4 or IPv6 depending on "ip_type". The queue ID is returned, or RESOLVER_INVALID_ID on error.
@ -15629,6 +15647,14 @@
</constant> </constant>
<constant name="RESOLVER_INVALID_ID" value="-1"> <constant name="RESOLVER_INVALID_ID" value="-1">
</constant> </constant>
<constant name="TYPE_NONE" value="0">
</constant>
<constant name="TYPE_IPV4" value="1">
</constant>
<constant name="TYPE_IPV6" value="2">
</constant>
<constant name="TYPE_ANY" value="3">
</constant>
</constants> </constants>
</class> </class>
<class name="IP_Unix" inherits="IP" category="Core"> <class name="IP_Unix" inherits="IP" category="Core">
@ -24513,13 +24539,6 @@
Close the UDP socket the [PacketPeerUDP] is currently listening on. Close the UDP socket the [PacketPeerUDP] is currently listening on.
</description> </description>
</method> </method>
<method name="get_packet_address" qualifiers="const">
<return type="int">
</return>
<description>
Return the address of the remote peer(as a 32bit integer) that sent the last packet(that was received with [method get_packet] or [method get_var]).
</description>
</method>
<method name="get_packet_ip" qualifiers="const"> <method name="get_packet_ip" qualifiers="const">
<return type="String"> <return type="String">
</return> </return>
@ -24552,6 +24571,12 @@
Make this [PacketPeerUDP] listen on the "port" with a buffer size "recv_buf_size". Listens on all available addresses. Make this [PacketPeerUDP] listen on the "port" with a buffer size "recv_buf_size". Listens on all available addresses.
</description> </description>
</method> </method>
<method name="set_ip_type">
<argument index="0" name="ip_type" type="int">
</argument>
<description>
</description>
</method>
<method name="set_send_address"> <method name="set_send_address">
<return type="int"> <return type="int">
</return> </return>
@ -38162,6 +38187,12 @@
Return whether this peer is connected. Returns true while connecting and connected. Return whether this peer is connected. Returns true while connecting and connected.
</description> </description>
</method> </method>
<method name="set_ip_type">
<argument index="0" name="ip_type" type="int">
</argument>
<description>
</description>
</method>
</methods> </methods>
<constants> <constants>
<constant name="STATUS_NONE" value="0"> <constant name="STATUS_NONE" value="0">
@ -39643,6 +39674,12 @@
Listen on a port using protocol, alternatively give a white-list of accepted hosts. Listen on a port using protocol, alternatively give a white-list of accepted hosts.
</description> </description>
</method> </method>
<method name="set_ip_type">
<argument index="0" name="ip_type" type="int">
</argument>
<description>
</description>
</method>
<method name="stop"> <method name="stop">
<description> <description>
Stop listening. Stop listening.