proof of concept server implementation

This commit is contained in:
Benjamin Sergeant
2018-12-29 23:15:27 -08:00
parent ea07afcc0b
commit 0ee71e9a09
9 changed files with 324 additions and 3 deletions

View File

@ -0,0 +1,24 @@
/*
* 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;
};
}