summaryrefslogtreecommitdiff
path: root/modules/websocket/emws_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/websocket/emws_server.h')
-rw-r--r--modules/websocket/emws_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/websocket/emws_server.h b/modules/websocket/emws_server.h
index aa089ea40d..9ec4ce72c8 100644
--- a/modules/websocket/emws_server.h
+++ b/modules/websocket/emws_server.h
@@ -46,6 +46,9 @@ public:
bool is_listening() const;
bool has_peer(int p_id) const;
Ref<WebSocketPeer> get_peer(int p_id) const;
+ IP_Address get_peer_address(int p_peer_id) const;
+ int get_peer_port(int p_peer_id) const;
+ void disconnect_peer(int p_peer_id);
virtual void poll();
virtual PoolVector<String> get_protocols() const;