SNode.C
|
Functions | |
std::string | serverWebSocketKey (const std::string &clientWebSocketKey) |
static bool | is_base64 (char c) |
std::string | base64_encode (const unsigned char *bytes_to_encode, std::size_t length) |
std::string | base64_decode (const std::string &encoded_string) |
std::string base64::base64_decode | ( | const std::string & | encoded_string | ) |
Definition at line 115 of file base64.cpp.
References is_base64().
std::string base64::base64_encode | ( | const unsigned char * | bytes_to_encode, |
std::size_t | length | ||
) |
Definition at line 69 of file base64.cpp.
Referenced by express::middleware::BasicAuthentication::BasicAuthentication(), web::websocket::client::SocketContextUpgradeFactory::prepare(), and serverWebSocketKey().
|
static |
Definition at line 65 of file base64.cpp.
Referenced by base64_decode().
std::string base64::serverWebSocketKey | ( | const std::string & | clientWebSocketKey | ) |
Definition at line 56 of file base64.cpp.
References base64_encode().
Referenced by web::websocket::client::SocketContextUpgradeFactory::create(), and web::websocket::server::SocketContextUpgradeFactory::create().