| 47 | } |
| 48 | |
| 49 | void HttpStreamServer::disconnect() { |
| 50 | if (mNativeServer) { |
| 51 | mNativeServer->stop(); |
| 52 | } |
| 53 | mClientStates.clear(); |
| 54 | mConnection.onDisconnected(); |
| 55 | } |
| 56 | |
| 57 | bool HttpStreamServer::isConnected() const { |
| 58 | return mNativeServer && mNativeServer->isListening(); |
nothing calls this directly
no test coverage detected