SCTC
the soundcloud.com terminal client
Data Fields
http_response Struct Reference

#include <http.h>

Collaboration diagram for http_response:

Data Fields

struct network_connnwc
 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...
 

Field Documentation

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)


The documentation for this struct was generated from the following file: