1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Allow setting websocket buffers sizes internally.

Needed by LSP.
This commit is contained in:
Fabio Alessandrelli
2019-06-14 17:19:23 +02:00
parent 0a3c21d999
commit ee90da4acb
10 changed files with 40 additions and 0 deletions

View File

@@ -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;