Function client
Source pub fn client() -> Result<Client, Box<EvalAltResult>>
Expand description
Create a new HTTP client. Can be used to query HTTP endpoints.
§Errors
- TLS backend could not be initialized
- Resolver could not load the system configuration
§Example
let client = http::client();
§rhai-autodocs:index:2