|
| BA_API void | HttpAsynchResp_constructor (HttpAsynchResp *o, char *buf, int size, HttpRequest *req) |
| | Initialize from a request and take over its connection. More...
|
| |
| BA_API void | HttpAsynchResp_constructor2 (HttpAsynchResp *o, char *buf, int size, HttpConnection *con) |
| | Initialize from a connection and take over its socket. More...
|
| |
| BA_API void | HttpAsynchResp_ReqRespInit (HttpAsynchResp *o, char *buf, int size, HttpConnection *con) |
| | Initialize the response half of a combined request/response object. More...
|
| |
| BA_API BaBool | HttpAsynchResp_isValid (HttpAsynchResp *o) |
| | Check the installed buffer and connection. More...
|
| |
| BA_API void | HttpAsynchResp_close (HttpAsynchResp *o) |
| | Flushes the response, if any, and checks the connection object: A valid and persistent HTTP 1.1 socket connection object is moved back into the Web-server's HTTP 1.1 HttpConnection pool such that the connection can be recycled. More...
|
| |
| BA_API int | HttpAsynchResp_setStatus (HttpAsynchResp *o, int statusCode, const char *protocol) |
| | Append the HTTP status line and standard Date/Server headers. More...
|
| |
| BA_API int | HttpAsynchResp_setHeader (HttpAsynchResp *o, const char *name, const char *value) |
| | Append a response header before starting the body. More...
|
| |
| BA_API int | HttpAsynchResp_sendData (HttpAsynchResp *o, const void *data, int pktSize, int chunkSize) |
| | Begin a fixed-length response body. More...
|
| |
| BA_API int | HttpAsynchResp_sendNextChunk (HttpAsynchResp *o, const void *data, int chunkSize) |
| | Continue the fixed-length body begun with sendData. More...
|
| |
| BA_API BufPrint * | HttpAsynchResp_getWriter (HttpAsynchResp *o) |
| | BufPrint is used when sending data of unknown length. More...
|
| |