|
Mila
Deep Neural Network Library
|
Classes | |
| class | Mila::Distribution::HttpClient |
| GET a URL, streaming the body to a sink, over whichever transport it is given. More... | |
| struct | Mila::Distribution::HttpRequest |
| struct | Mila::Distribution::HttpResult |
Enumerations | |
| enum class | Mila::Distribution::HttpStatus { Ok , Unauthorized , Forbidden , NotFound , RangeIgnored , RangeNotSatisfiable , TransportError , ServerError } |
| Outcome of a transfer attempt, distinguishing failures that need different fixes. More... | |
Typedefs | |
| using | Mila::Distribution::ProgressCallback |
| Called as bytes arrive. | |
Functions | |
| std::string | Mila::Distribution::hostOf (const std::string &url) |
| Extract the host from a URL, for deciding whether auth may cross a redirect. | |
| std::string | Mila::Distribution::resolveRedirect (const std::string &base, const std::string &location) |
| Resolve a Location header against the URL it came from. | |
| std::string | Mila::Distribution::toString (HttpStatus status) |
Files | |
| file | Mila/Src/Distribution/HttpClient.ixx |
| How to ask, and how to read the answer: redirects, the token rule, resume, status. | |