WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
Classes | |
class | AppWrapper |
class | CustomLogger |
struct | MemberData |
class | Server |
class | ServerStorage |
Typedefs | |
using | wsConnPtr = void * |
using | LoggerCallback = std::function< void(const char *, std::size_t, int)> |
using | OpenCallback = std::function< void(void *, const char *)> |
using | CloseCallback = std::function< void(void *, const char *)> |
using | MessageCallback = std::function< void(void *, const char *, std::size_t)> |
using | MemberDataPtr = std::shared_ptr< MemberData > |
Functions | |
std::string | getStaticDir (const std::shared_ptr< spdlog::logger > &logger) |
std::string | getTempDir (const std::shared_ptr< spdlog::logger > &logger) |
std::vector< std::string > | getIpAddresses (const std::shared_ptr< spdlog::logger > &logger) |
std::string | getHostName (const std::shared_ptr< spdlog::logger > &logger) |
std::pair< unsigned int, SharedString > | findReqField (StrMap2< unsigned int > &req, const SharedString &member, const SharedString &field) |
void | initVips () |
std_fs::path | getExeDir (const std::shared_ptr< spdlog::logger > &logger) |
static spdlog::level::level_enum | convertLevel (int level) |
Variables | |
constexpr char | field_separator = '.' |
static std::string | static_dir |
static std::unique_ptr< CustomLogger > | crow_custom_logger |
static const std::thread::id | MAIN_THREAD_ID = std::this_thread::get_id() |
using CloseCallback = std::function<void(void *, const char *)> |
using LoggerCallback = std::function<void(const char *, std::size_t, int)> |
using MemberDataPtr = std::shared_ptr<MemberData> |
using MessageCallback = std::function<void(void *, const char *, std::size_t)> |
using OpenCallback = std::function<void(void *, const char *)> |
typedef void * wsConnPtr |
|
inlinestatic |
std::pair< unsigned int, SharedString > findReqField | ( | StrMap2< unsigned int > & | req, |
const SharedString & | member, | ||
const SharedString & | field | ||
) |
std_fs::path getExeDir | ( | const std::shared_ptr< spdlog::logger > & | logger | ) |
std::string getHostName | ( | const std::shared_ptr< spdlog::logger > & | logger | ) |
std::vector< std::string > getIpAddresses | ( | const std::shared_ptr< spdlog::logger > & | logger | ) |
std::string getStaticDir | ( | const std::shared_ptr< spdlog::logger > & | logger | ) |
std::string getTempDir | ( | const std::shared_ptr< spdlog::logger > & | logger | ) |
void initVips | ( | ) |
|
static |
|
constexpr |
|
static |
|
static |