nanohttp

nanohttp - minimal HTTP implementation

minimal HTTP implementation allowing to fetch resources like external subset.

Author(s): Daniel Veillard

Synopsis

const char *	xmlNanoHTTPAuthHeader	(void * ctx);
void	xmlNanoHTTPCleanup		(void);
void	xmlNanoHTTPClose		(void * ctx);
int	xmlNanoHTTPContentLength	(void * ctx);
const char *	xmlNanoHTTPEncoding	(void * ctx);
int	xmlNanoHTTPFetch		(const char * URL, 
const char * filename,
char ** contentType); void xmlNanoHTTPInit (void); void * xmlNanoHTTPMethod (const char * URL,
const char * method,
const char * input,
char ** contentType,
const char * headers,
int ilen); void * xmlNanoHTTPMethodRedir (const char * URL,
const char * method,
const char * input,
char ** contentType,
char ** redir,
const char * headers,
int ilen); const char * xmlNanoHTTPMimeType (void * ctx); void * xmlNanoHTTPOpen (const char * URL,
char ** contentType); void * xmlNanoHTTPOpenRedir (const char * URL,
char ** contentType,
char ** redir); int xmlNanoHTTPRead (void * ctx,
void * dest,
int len); const char * xmlNanoHTTPRedir (void * ctx); int xmlNanoHTTPReturnCode (void * ctx); int xmlNanoHTTPSave (void * ctxt,
const char * filename); void xmlNanoHTTPScanProxy (const char * URL);

Description

Details