diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-31 17:26:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-31 17:26:12 +0100 |
commit | e7cf2b2e77a097a026f883f003ad299b5d451885 (patch) | |
tree | ca93ec416a14b9a7e05d3e92aab790bf565cad61 /doc | |
parent | 7b691339290d9bc975deba57a0974c1c7049512b (diff) | |
parent | 87adf9cfbab00a40aad483b4e709518d5f61b6d1 (diff) |
Merge pull request #16188 from Schweigert/master
Display set_nodelay to GDScript
Diffstat (limited to 'doc')
-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> |