#include "transport.h"#include "wastring.h"


Classes | |
| struct | _HTTPResponse |
Defines | |
| #define | resp_addStringToResponse(resp, str) { str->next = resp->responseStrings; resp->responseStrings = str; } |
| #define | RESP_CLOSE_CONNECTION 8 |
| #define | RESP_DONT_FREE_CONTENT 1 |
| #define | RESP_HTTP10 2 |
| #define | RESP_HTTP11 4 |
Typedefs | |
| typedef struct _HTTPResponse | HTTPResponse |
Functions | |
| void | resp_addHeader (HTTPResponse *resp, String *rawhdr) |
| char * | resp_description (HTTPResponse *resp) |
| HTTPResponse * | resp_errorResponse (const char *msg, int status) |
| void | resp_free (HTTPResponse *resp) |
| int | resp_getResponseContent (HTTPResponse *resp, int allowStreaming) |
| HTTPResponse * | resp_getResponseHeaders (WOConnection *instanceConnection, WOInstanceHandle instHandle) |
| HTTPResponse * | resp_new (char *status, WOInstanceHandle instHandle, WOConnection *instanceConnection) |
| String * | resp_packageHeaders (HTTPResponse *resp) |
| HTTPResponse * | resp_redirectedResponse (const char *path) |
| #define resp_addStringToResponse | ( | resp, | |||
| str | ) | { str->next = resp->responseStrings; resp->responseStrings = str; } |
| #define RESP_CLOSE_CONNECTION 8 |
| #define RESP_DONT_FREE_CONTENT 1 |
| #define RESP_HTTP10 2 |
| #define RESP_HTTP11 4 |
| typedef struct _HTTPResponse HTTPResponse |
| void resp_addHeader | ( | HTTPResponse * | resp, | |
| String * | rawhdr | |||
| ) |
| char* resp_description | ( | HTTPResponse * | resp | ) |
| HTTPResponse* resp_errorResponse | ( | const char * | msg, | |
| int | status | |||
| ) |
| void resp_free | ( | HTTPResponse * | resp | ) |
| int resp_getResponseContent | ( | HTTPResponse * | resp, | |
| int | allowStreaming | |||
| ) |
| HTTPResponse* resp_getResponseHeaders | ( | WOConnection * | instanceConnection, | |
| WOInstanceHandle | instHandle | |||
| ) |
| HTTPResponse* resp_new | ( | char * | status, | |
| WOInstanceHandle | instHandle, | |||
| WOConnection * | instanceConnection | |||
| ) |
| String* resp_packageHeaders | ( | HTTPResponse * | resp | ) |
| HTTPResponse* resp_redirectedResponse | ( | const char * | path | ) |
1.5.8