![]() |
SCTC
the soundcloud.com terminal client
|
#include <http.h>
Data Fields | |
| struct network_conn * | nwc |
A new network-connection (used if the server redirects) More... | |
| char * | buffer |
| A pointer to the raw buffer (most likely not usefull, primarily for http_response_destroy() More... | |
| char * | body |
| A pointer to the body (the actual data returned by the server) More... | |
| size_t | header_length |
| The length of the header in Bytes. More... | |
| size_t | content_length |
| The length of the body (the actual data) More... | |
| int | http_status |
| The HTTP-Status, 200 in case of success. More... | |
| char * | location |
| The location in case of a non-resolved redirect. More... | |
| char* http_response::body |
A pointer to the body (the actual data returned by the server)
| char* http_response::buffer |
A pointer to the raw buffer (most likely not usefull, primarily for http_response_destroy()
| size_t http_response::content_length |
The length of the body (the actual data)
| size_t http_response::header_length |
The length of the header in Bytes.
| int http_response::http_status |
The HTTP-Status, 200 in case of success.
| char* http_response::location |
The location in case of a non-resolved redirect.
| struct network_conn* http_response::nwc |
A new network-connection (used if the server redirects)
1.8.9.1