MLIB
|
Implementation of httpd and http_connection classes. More...
Go to the source code of this file.
Data Structures | |
struct | mlib::ci_less |
Case insensitive comparison function. More... | |
class | mlib::http_connection |
Representation of a HTTP client connection request. More... | |
class | mlib::httpd |
Small multi-threaded HTTP server. More... | |
Typedefs | |
typedef std::map< std::string, std::string, ci_less > | mlib::str_pairs |
typedef int(* | mlib::uri_handler) (const char *uri, http_connection &client, void *info) |
User defined URL handler function. | |
Functions | |
void | mlib::parse_urlparams (const char *par_str, str_pairs ¶ms) |
Parse a URL encoded string of parameters. | |
Implementation of httpd and http_connection classes.
(c) Mircea Neacsu 2007-2014. All rights reserved.
typedef std::map<std::string, std::string, ci_less> mlib::str_pairs |
Key-value string pairs used for headers, URL-encoded data, etc. Keys are case insensitive.