gos_http_response_config_t Struct Reference

Configuration of the HTTP response. More...

Data Fields

uint32_t timeout
 Maximum time in milliseconds to wait for the HTTP response.
gos_http_response_flags_t flags
 Flags to configure how response is processed, gos_http_response_flags_t.
uint32_t max_size
uint8_t * buffer
 Buffer to hold response headers, leave NULL to automatically allocate buffer of 'max_size' bytes.

Detailed Description

Configuration of the HTTP response.


Field Documentation

◆ max_size

uint32_t gos_http_response_config_t::max_size

The maximum response headers size

This is only the response headers, NOT the response body