MCPcopy Create free account
hub / github.com/JoaoLopesF/RemoteDebug / disconnectAllClients

Method disconnectAllClients

src/RemoteDebugWS.cpp:113–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void RemoteDebugWS::disconnectAllClients() {
114
115 // Disconnect all clients
116
117 WebSocketServer.disconnect();
118
119 // Disconnected
120
121 _webSocketConnected = WS_NOT_CONNECTED;
122
123 // Callback
124
125 if (_callbacks) {
126 _callbacks->onDisconnect();
127 }
128
129}
130
131void RemoteDebugWS::disconnect() {
132

Callers

nothing calls this directly

Calls 2

onDisconnectMethod · 0.80
disconnectMethod · 0.45

Tested by

no test coverage detected