5#include "webcface/common/webcface-config.h"
22 std::string exception_str;
24 void setException(
const char *what)
noexcept;
28 std::uint16_t port,
const char *unix_path,
32 static void send(
wsConnPtr conn,
const char *msg,
33 std::size_t size)
noexcept;
34 static void close(
wsConnPtr conn)
noexcept;
37 const char *exception()
noexcept;
Definition server_ws.h:20
std::function< void(void *, const char *, std::size_t)> MessageCallback
Definition server_ws.h:18
std::function< void(void *, const char *)> CloseCallback
Definition server_ws.h:17
void * wsConnPtr
Definition server.h:21
std::function< void(void *, const char *)> OpenCallback
Definition server_ws.h:16
std::function< void(const char *, std::size_t, int)> LoggerCallback
Definition server_ws.h:15
#define WEBCFACE_NS_END
Definition webcface-config.h:104
#define WEBCFACE_NS_BEGIN
Definition webcface-config.h:103