Data Fields
vtm_http_client_req Struct Reference

Data Fields

enum vtm_http_method method
 
enum vtm_http_version version
 
enum vtm_socket_family fam
 
const char * url
 
vtm_datasetheaders
 
const void * body
 
size_t body_len
 

Detailed Description

HTTP client request

Field Documentation

enum vtm_http_method vtm_http_client_req::method

HTTP method

enum vtm_http_version vtm_http_client_req::version

HTTP protocol version

enum vtm_socket_family vtm_http_client_req::fam

Socket family, IPv4 or IPv6

const char* vtm_http_client_req::url

URL of the request

vtm_dataset* vtm_http_client_req::headers

Additional headers, can be NULL

const void* vtm_http_client_req::body

Pointer to body data, can be NULL

size_t vtm_http_client_req::body_len

Length of body data, can be zero