A Helper class to create a HTTPRequest from a mongoose connection struct.
More...
Inherits flightgear::http::HTTPRequest.
|
static string | urlDecode (const string &s) |
| Decodes a URL encoded string replaces '+' by ' ' replaces nn hexdigits.
|
|
A Helper class to create a HTTPRequest from a mongoose connection struct.
Definition at line 82 of file httpd.cxx.
◆ MongooseHTTPRequest()
flightgear::http::MongooseHTTPRequest::MongooseHTTPRequest |
( |
struct mg_connection * | connection | ) |
|
|
inline |
Constructs a HTTPRequest from a mongoose connection struct Copies all fields into STL compatible local elements, performs urlDecode etc.
- Parameters
-
connection | the mongoose connection struct with the source data |
Definition at line 108 of file httpd.cxx.
◆ urlDecode()
static string flightgear::http::MongooseHTTPRequest::urlDecode |
( |
const string & | s | ) |
|
|
inlinestatic |
Decodes a URL encoded string replaces '+' by ' ' replaces nn hexdigits.
- Parameters
-
s | The source string do decode |
- Returns
- The decoded String
Definition at line 143 of file httpd.cxx.
The documentation for this class was generated from the following file: