IXWebSocket/ixwebsocket/IXWebSocketServer.h
2018-12-29 23:15:27 -08:00

25 lines
406 B
C++

/*
* IXWebSocketServer.h
* Author: Benjamin Sergeant
* Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include <utility> // pair
#include <string>
namespace ix
{
class WebSocketServer {
public:
WebSocketServer(int port = 8080);
virtual ~WebSocketServer();
std::pair<bool, std::string> run();
private:
int _port;
};
}