diff options
author | Marlon Henry Schweigert <fleyhe0@gmail.com> | 2018-01-30 13:22:15 -0200 |
---|---|---|
committer | Marlon Henry Schweigert <fleyhe0@gmail.com> | 2018-01-30 13:22:15 -0200 |
commit | 87adf9cfbab00a40aad483b4e709518d5f61b6d1 (patch) | |
tree | 9f0721697ab678fb3eeb4b9c2321024469873cd7 /doc/classes | |
parent | f12e8568d43de853e0b98588e7f132a61a92fc45 (diff) |
Display set_nodelay to GDScript
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/StreamPeerTCP.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/classes/StreamPeerTCP.xml b/doc/classes/StreamPeerTCP.xml index 37fec62cbc..73e9b97367 100644 --- a/doc/classes/StreamPeerTCP.xml +++ b/doc/classes/StreamPeerTCP.xml @@ -29,6 +29,16 @@ Disconnect from host. </description> </method> + <method name="set_no_delay"> + <return type="void"> + </return> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + Disable Nagle algorithm to improve latency for small packets. + Note that for applications that send large packets, or need to transfer a lot of data, this can reduce total bandwidth. + </description> + </method> <method name="get_connected_host" qualifiers="const"> <return type="String"> </return> |