Struct SYN_HttpResponse¶
HTTP response metadata.
#include <syn_http.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | chunked |
| bool | connection_close |
| uint32_t | content_length |
| char | location |
| int | status_code |
Public Attributes Documentation¶
variable chunked¶
Transfer-Encoding: chunked?
variable connection_close¶
Connection: close?
variable content_length¶
Content-Length value, 0 if absent
variable location¶
Location header for redirects
variable status_code¶
HTTP status (200, 404, etc.)
The documentation for this class was generated from the following file src/syntropic/net/syn_http.h