Contains the response to the client request.
typedef struct reqhand_response { cobuns32_t version; Version of structure format cobuns32_t response_len; Length of response buffer cobuns32_t flags; Control flags cobuns32_t response_type; Server response type void *response_buf; Server response buffer void *content_type; NULL terminated string (HTTP) }REQHAND_RESPONSE;
#define REQHAND_RESP_VERSION | 0 |
#define REQHAND_RESP_FLAGS_ALL | 0x00000000 |
#define REQHAND_RESP_TYPE_NORMAL | 0 |
#define REQHAND_RESP_TYPE_RTS_ERR | 1 |
#define REQHAND_RESP_TYPE_RH_ERR | 2 |
#define REQHAND_RESP_TYPE_APP_ERR | 3 |
#define REQHAND_RESP_TYPE_PRE_APP_ERR | 4 |
#define REQHAND_RESP_TYPE_FATAL_ERR | 5 |
#define REQHAND_RESP_TYPE_ACKNOWLEDGE | 6 |