Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Distribution::HttpRequest Struct Referenceexport

Public Attributes

long low_speed_timeout_seconds { 60 }
 Seconds with no data before the transfer is abandoned. Zero disables.
int maximum_redirects { 5 }
 Redirect hops permitted before giving up.
uint64_t resume_from { 0 }
 Byte offset to resume from.
std::string token
 Bearer token, or empty for an anonymous request.
std::string url

Member Data Documentation

◆ resume_from

uint64_t Mila::Distribution::HttpRequest::resume_from { 0 }

Byte offset to resume from.

Non-zero sends a Range header; a 200 response then means the server ignored it and the caller must restart.

◆ token

std::string Mila::Distribution::HttpRequest::token

Bearer token, or empty for an anonymous request.

Never logged, and never sent to a host other than the one the request started on.


The documentation for this struct was generated from the following file: