|
void | RegisterFile (const std::string &file, const std::string &content_type) |
|
◆ OlaHTTPServer()
Create a new OlaHTTPServer.
- Parameters
-
options | The HTTPServerOptions options, |
export_map | the ExportMap to server |
◆ Init()
bool ola::http::OlaHTTPServer::Init |
( |
| ) |
|
|
virtual |
Setup the OLA HTTP server
- Returns
- true if this worked, false otherwise.
Reimplemented in ola::OladHTTPServer.
◆ RegisterFile()
void ola::http::OlaHTTPServer::RegisterFile |
( |
const std::string & |
file, |
|
|
const std::string & |
content_type |
|
) |
| |
|
inlineprotected |
Register a static file to serve
The documentation for this class was generated from the following files: