MLIB
Loading...
Searching...
No Matches
httpd.cpp File Reference

Implementation of httpd and http_connection classes. More...

#include <mlib/mlib.h>
#include <io.h>

Data Structures

struct  mlib::smime
 Table of known mime types.
 

Macros

#define HTTPD_DEFAULT_URI   "index.html"
 Default URL.
 
#define HTTPD_SERVER_NAME   "MNCS_HTTPD 1.0"
 Default server name.
 
#define HTTPD_TIMEOUT   30
 Timeout interval while waiting for a client response.
 
#define MAX_PAR   1024
 Max length of a form parameter.
 

Functions

void mlib::parse_urlparams (const char *par_str, str_pairs &params)
 Parse a URL encoded string of parameters.
 

Detailed Description

Implementation of httpd and http_connection classes.

(c) Mircea Neacsu 2007-2017. All rights reserved.