diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-14 17:19:23 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-15 16:57:23 +0200 |
commit | ee90da4acbf8769d37b32e971434733d051a5e49 (patch) | |
tree | 7014fec737beec3bd71bc6d8c7016b2b927ad48a /modules/websocket/lws_client.h | |
parent | 0a3c21d999559617cc9cdfe261d631e6d1267374 (diff) | |
download | redot-engine-ee90da4acbf8769d37b32e971434733d051a5e49.tar.gz |
Allow setting websocket buffers sizes internally.
Needed by LSP.
Diffstat (limited to 'modules/websocket/lws_client.h')
-rw-r--r-- | modules/websocket/lws_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websocket/lws_client.h b/modules/websocket/lws_client.h index b3a1237550..df4aabec7f 100644 --- a/modules/websocket/lws_client.h +++ b/modules/websocket/lws_client.h @@ -51,6 +51,7 @@ private: int _out_pkt_size; public: + Error set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer, int p_out_packets); Error connect_to_host(String p_host, String p_path, uint16_t p_port, bool p_ssl, PoolVector<String> p_protocol = PoolVector<String>()); int get_max_packet_size() const; Ref<WebSocketPeer> get_peer(int p_peer_id) const; |