1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/src/webfuse/ws/server.hpp

33 lines
559 B
C++
Raw Normal View History

2022-11-13 21:22:35 +00:00
#ifndef WEBFUSE_WSSERVER_HPP
2022-11-14 18:02:46 +00:00
#define WEBFUSE_WSSERVER_HPP
2022-11-13 21:22:35 +00:00
#include "webfuse/ws/config.hpp"
2022-11-19 21:57:32 +00:00
#include "webfuse/ws/message.hpp"
#include <vector>
2022-11-14 18:02:46 +00:00
#include <string>
2022-11-19 21:57:32 +00:00
#include <memory>
2022-11-13 21:22:35 +00:00
namespace webfuse
{
class ws_server
{
ws_server(ws_server const &) = delete;
ws_server& operator=(ws_server const &) = delete;
public:
ws_server(ws_config const & config);
~ws_server();
ws_server(ws_server && other);
ws_server& operator=(ws_server && other);
2022-11-19 21:57:32 +00:00
void perform(message msg);
2022-11-13 21:22:35 +00:00
private:
class detail;
detail * d;
};
}
#endif