/opt/source/Wonder/Utilities/Adaptors/Adaptor/response.h File Reference

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

Include dependency graph for response.h:

This graph shows which files directly or indirectly include this file:


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)
HTTPResponseresp_errorResponse (const char *msg, int status)
void resp_free (HTTPResponse *resp)
int resp_getResponseContent (HTTPResponse *resp, int allowStreaming)
HTTPResponseresp_getResponseHeaders (WOConnection *instanceConnection, WOInstanceHandle instHandle)
HTTPResponseresp_new (char *status, WOInstanceHandle instHandle, WOConnection *instanceConnection)
Stringresp_packageHeaders (HTTPResponse *resp)
HTTPResponseresp_redirectedResponse (const char *path)

Define Documentation

#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 Documentation

typedef struct _HTTPResponse HTTPResponse


Function Documentation

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  ) 


Generated on Sat May 26 06:42:05 2012 for Project Wonder by  doxygen 1.5.8