Model HttpClient
http/client::HttpClient
Parameters
↳ const base_url: Option<string> = _
↳ const headers: StringMap (std/data/string_map::StringMap)
↳ const secret_headers: Option<Map> = _ (std/data/map::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_DELAYfield.headers: Headers to add in requests made with this client.secret_headers: Headers to add in requests made with this client, whose values areSecret<string>(orOption<Secret<string>>, as given bystd/secret::|locate), such asAuthorization. They are revealed by the treatment making each request.
The default headers are Accept: */* and User-Agent: http-mel/<version>