Skip to content

Struct SYN_HttpResponse

ClassList > 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

bool SYN_HttpResponse::chunked;

Transfer-Encoding: chunked?


variable connection_close

bool SYN_HttpResponse::connection_close;

Connection: close?


variable content_length

uint32_t SYN_HttpResponse::content_length;

Content-Length value, 0 if absent


variable location

char SYN_HttpResponse::location[128];

Location header for redirects


variable status_code

int SYN_HttpResponse::status_code;

HTTP status (200, 404, etc.)



The documentation for this class was generated from the following file src/syntropic/net/syn_http.h