#include <SafeHttpServer.h>
|
| SafeHttpServer (int _port, std::string const &_sslcert=std::string(), std::string const &_sslkey=std::string(), int _threads=50) |
| "using HttpServer" won't work with msvc 2013, so we need to copy'n'paste constructor More...
|
|
virtual bool | SendResponse (std::string const &_response, void *_addInfo=nullptr) override |
| override HttpServer implementation More...
|
|
virtual bool | SendOptionsResponse (void *_addInfo) override |
|
void | setAllowedOrigin (std::string const &_origin) |
|
std::string const & | allowedOrigin () const |
|
Definition at line 30 of file SafeHttpServer.h.
dev::SafeHttpServer::SafeHttpServer |
( |
int |
_port, |
|
|
std::string const & |
_sslcert = std::string() , |
|
|
std::string const & |
_sslkey = std::string() , |
|
|
int |
_threads = 50 |
|
) |
| |
|
inline |
"using HttpServer" won't work with msvc 2013, so we need to copy'n'paste constructor
Definition at line 34 of file SafeHttpServer.h.
std::string const& dev::SafeHttpServer::allowedOrigin |
( |
| ) |
const |
|
inline |
bool SafeHttpServer::SendOptionsResponse |
( |
void * |
_addInfo | ) |
|
|
overridevirtual |
bool SafeHttpServer::SendResponse |
( |
std::string const & |
_response, |
|
|
void * |
_addInfo = nullptr |
|
) |
| |
|
overridevirtual |
void dev::SafeHttpServer::setAllowedOrigin |
( |
std::string const & |
_origin | ) |
|
|
inline |
std::string dev::SafeHttpServer::m_allowedOrigin |
|
private |
The documentation for this class was generated from the following files: