IXWebSocket/ixwebsocket/IXWebSocketServer.h

25 lines
406 B
C
Raw Normal View History

2018-12-30 08:15:27 +01:00
/*
* 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;
};
}