Disable Nagle's algorithm for WebSocket TCP.
This should greatly decrease latency for the most common use cases. A new function WebSocketPeer::set_no_delay will allow to configure it if so desired.
This commit is contained in:
@ -68,6 +68,7 @@ public:
|
||||
virtual WriteMode get_write_mode() const;
|
||||
virtual void set_write_mode(WriteMode p_mode);
|
||||
virtual bool was_string_packet() const;
|
||||
virtual void set_no_delay(bool p_enabled);
|
||||
|
||||
EMWSPeer();
|
||||
~EMWSPeer();
|
||||
|
||||
Reference in New Issue
Block a user