WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
AppWrapper Class Reference

#include <webcface/server/server_ws.h>

Public Member Functions

 AppWrapper (const LoggerCallback &callback, const char *static_dir, std::uint16_t port, const char *unix_path, const OpenCallback &on_open, const CloseCallback &on_close, const MessageCallback &on_message) noexcept
 
 ~AppWrapper () noexcept
 
void stop () noexcept
 
void run () noexcept
 
const char * exception () noexcept
 

Static Public Member Functions

static void send (wsConnPtr conn, const char *msg, std::size_t size) noexcept
 
static void close (wsConnPtr conn) noexcept
 

Constructor & Destructor Documentation

◆ AppWrapper()

AppWrapper ( const LoggerCallback callback,
const char *  static_dir,
std::uint16_t  port,
const char *  unix_path,
const OpenCallback on_open,
const CloseCallback on_close,
const MessageCallback on_message 
)
noexcept

◆ ~AppWrapper()

~AppWrapper ( )
noexcept

Member Function Documentation

◆ close()

void close ( wsConnPtr  conn)
staticnoexcept

◆ exception()

const char * exception ( )
noexcept

◆ run()

void run ( )
noexcept

◆ send()

void send ( wsConnPtr  conn,
const char *  msg,
std::size_t  size 
)
staticnoexcept

◆ stop()

void stop ( )
noexcept

The documentation for this class was generated from the following files: