View Source Tokenizers.HTTPClient (Tokenizers v0.5.1)
A simple implementation of an HTTP client.
This is using the built-in :httpc
module, configured to use SSL.
The request/1
function is similar to Req.request/1
.
Summary
Functions
Make an HTTP(s) requests.
Functions
Make an HTTP(s) requests.
Options
:method
- An HTTP method. By default it uses the:get
method.:base_url
- The base URL to make requests. By default is "https://huggingface.io".:url
- A path to a resource. By default is "".:headers
- A list of tuples representing HTTP headers. By default it's empty.