#include "transport.h"#include "WOAppReq.h"#include "WOURLCUtilities.h"


Classes | |
| struct | _HTTPRequest |
Typedefs | |
| typedef struct _HTTPRequest | HTTPRequest |
| typedef int(* | req_getMoreContentCallback )(void *handle, void *buffer, int bufferSize, int mustFill) |
Enumerations | |
| enum | RequestMethod { HTTP_NO_METHOD = -2, HTTP_UNKNOWN_METHOD, HTTP_GET_METHOD, HTTP_POST_METHOD, HTTP_HEAD_METHOD, HTTP_PUT_METHOD } |
Functions | |
| void | req_addHeader (HTTPRequest *req, const char *key, const char *value, int flags) |
| void | req_allocateContent (HTTPRequest *req, unsigned content_length, int allowStreaming) |
| void | req_free (HTTPRequest *req) |
| const char * | req_HeaderForKey (HTTPRequest *req, const char *key) |
| HTTPRequest * | req_new (const char *method, char *uri) |
| void | req_reformatRequest (HTTPRequest *req, WOAppReq *app, WOURLComponents *wc, const char *http_version) |
| void | req_removeHeader (HTTPRequest *req, const char *key) |
| int | req_sendRequest (HTTPRequest *req, net_fd socket) |
| const char * | req_validateMethod (HTTPRequest *req) |
| typedef struct _HTTPRequest HTTPRequest |
| typedef int(* req_getMoreContentCallback)(void *handle, void *buffer, int bufferSize, int mustFill) |
| enum RequestMethod |
| void req_addHeader | ( | HTTPRequest * | req, | |
| const char * | key, | |||
| const char * | value, | |||
| int | flags | |||
| ) |
| void req_allocateContent | ( | HTTPRequest * | req, | |
| unsigned | content_length, | |||
| int | allowStreaming | |||
| ) |
| void req_free | ( | HTTPRequest * | req | ) |
| const char* req_HeaderForKey | ( | HTTPRequest * | req, | |
| const char * | key | |||
| ) |
| HTTPRequest* req_new | ( | const char * | method, | |
| char * | uri | |||
| ) |
| void req_reformatRequest | ( | HTTPRequest * | req, | |
| WOAppReq * | app, | |||
| WOURLComponents * | wc, | |||
| const char * | http_version | |||
| ) |
| void req_removeHeader | ( | HTTPRequest * | req, | |
| const char * | key | |||
| ) |
| int req_sendRequest | ( | HTTPRequest * | req, | |
| net_fd | socket | |||
| ) |
| const char* req_validateMethod | ( | HTTPRequest * | req | ) |
1.5.8