pub fn bounded_agent(budget: AgentBudget) -> AgentExpand description
Build the agent a budget describes.
§Precedence, stated plainly (the authoritative copy)
ureq documents that .timeout() “takes precedence over .timeout_read()
and .timeout_write(), but not .timeout_connect()”, and its
DeadlineStream rewrites the socket read deadline to the remaining global
budget before every read. So the .timeout_read() set here is
subordinate: declared for the day the global bound is lifted, and not
to be read as a per-read ceiling today. .timeout_connect() and
.timeout_write() are the two that bite alongside the global deadline.
Saying otherwise in a doc — or writing a test that claimed to prove a
per-read bound — would be a reassurance with nothing behind it.