13#include <unordered_set>
15namespace switchboard {
54 std::unique_ptr<Impl> impl;
~SwitchboardWebSocketServer()
Destructor for SwitchboardWebSocketServer.
bool isRunning() const
Checks if the server is running.
void start() const
Starts the WebSocket server.
void stop() const
Stops the WebSocket server.
SwitchboardWebSocketServer(int port, const std::unordered_set< std::string > &allowOrigin)
Constructor for SwitchboardWebSocketServer.