Model HttpClient
http/client::HttpClient
Parameters
↳ const base_url:
Option<string>
↳ const headers:
Map
(std/data::Map
)
↳ const tcp_no_delay:
bool = true
HTTP client for general use
The HTTP client provides configuration for HTTP requests.
base_url
: The base URL for a client. All request URLs will be relative to this URL.tcp_no_delay
: TCPNO_DELAY
field.headers
: Headers to add in requests made with this client.
The default headers are Accept: */*
and User-Agent: http-mel/<version>