gos_hs_reply_config_t Struct Reference
HTTP response configuration. More...
Data Fields |
|
uint32_t | status_code |
The HTTP status code.
|
|
int32_t | length |
Content-length, set to -1 to use 'chunked' encoding.
|
|
const gos_hs_header_t * | headers |
Linked list of additional response headers, leave NULL if unused.
|
|
const char * | cors_origin |
CORS origin header value, leave NULL if unused.
|
|
const char * | mime_type |
MIME type, leave NULL if unused.
|
|
gos_hs_response_flag_t | flags |
Additional response flags.
|
|
Detailed Description
HTTP response configuration.