|
Mila
Deep Neural Network Library
|
libcurl as an IHttpTransport. More...
Public Member Functions | |
| HttpResponse | fetch (const HttpFetch &request, const SinkCallback &sink, const HeadersCallback &on_headers) const override |
| std::string | name () const override |
| Stable identifier, for messages. e.g. "libcurl". | |
libcurl as an IHttpTransport.
CURLOPT_FOLLOWLOCATION stays off. That was once about protecting the token; now it is simply the contract – the client follows hops, because only the client knows which host the request started on.
|
inlineoverridevirtual |
Implements Mila::Distribution::IHttpTransport.
|
inlineoverridevirtual |
Stable identifier, for messages. e.g. "libcurl".
Implements Mila::Distribution::IHttpTransport.