libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
cli_options_t Struct Reference

Data Fields

char * url
 
http_method_t method
 
fetch_headers_theaders
 
char * data
 
char * data_file
 
char * user_agent
 
char * referer
 
char * output_file
 
bool include_headers
 
bool head_only
 
bool location_follow
 
bool silent
 
bool verbose
 
bool show_error
 
bool fail_on_error
 
uint32_t timeout
 
uint32_t connect_timeout
 
uint32_t max_redirects
 
char * user
 
bool output_headers_only
 
bool write_out
 
char * write_out_format
 
bool progress_bar
 
bool no_progress
 
char * cookie
 
char * cookie_jar
 

Field Documentation

◆ connect_timeout

uint32_t cli_options_t::connect_timeout

◆ cookie

char* cli_options_t::cookie

◆ cookie_jar

char* cli_options_t::cookie_jar

◆ data

char* cli_options_t::data

◆ data_file

char* cli_options_t::data_file

◆ fail_on_error

bool cli_options_t::fail_on_error

◆ head_only

bool cli_options_t::head_only

◆ headers

fetch_headers_t* cli_options_t::headers

◆ include_headers

bool cli_options_t::include_headers

◆ location_follow

bool cli_options_t::location_follow

◆ max_redirects

uint32_t cli_options_t::max_redirects

◆ method

http_method_t cli_options_t::method

◆ no_progress

bool cli_options_t::no_progress

◆ output_file

char* cli_options_t::output_file

◆ output_headers_only

bool cli_options_t::output_headers_only

◆ progress_bar

bool cli_options_t::progress_bar

◆ referer

char* cli_options_t::referer

◆ show_error

bool cli_options_t::show_error

◆ silent

bool cli_options_t::silent

◆ timeout

uint32_t cli_options_t::timeout

◆ url

char* cli_options_t::url

◆ user

char* cli_options_t::user

◆ user_agent

char* cli_options_t::user_agent

◆ verbose

bool cli_options_t::verbose

◆ write_out

bool cli_options_t::write_out

◆ write_out_format

char* cli_options_t::write_out_format

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