diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-17 11:27:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-17 11:27:23 +0200 |
commit | 363705e6875a24cb569a522257b1c443f050ae40 (patch) | |
tree | e5883f6e2f4f9edf5149fbcfdf7efb2d577bed6e /modules/websocket/websocket_server.h | |
parent | 2935caa13f3623b80a903f8c3349cea48a417c00 (diff) | |
parent | 5b2f098ed4444572432eb2e67c154f89852039ec (diff) |
Merge pull request #29781 from Faless/ws/set_buffers_internal
Allow setting websocket buffers sizes internally.
Diffstat (limited to 'modules/websocket/websocket_server.h')
-rw-r--r-- | modules/websocket/websocket_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/websocket/websocket_server.h b/modules/websocket/websocket_server.h index 7a94c4047b..83c0c10419 100644 --- a/modules/websocket/websocket_server.h +++ b/modules/websocket/websocket_server.h @@ -62,6 +62,8 @@ public: void _on_disconnect(int32_t p_peer_id, bool p_was_clean); void _on_close_request(int32_t p_peer_id, int p_code, String p_reason); + virtual Error set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer, int p_out_packets) = 0; + WebSocketServer(); ~WebSocketServer(); }; |