Expand description
Request retry semantics and wait budgets shared by clients and servers. These do not change message encoding or protocol negotiation.
Modules§
- wait
- Shared server waits and client allowances. Each is how long the server may take before it answers, not counting the round trip.
Functions§
- retry_
safe - Whether
requestmay be sent a second time, on a new connection, when the first one died before it was answered. Reads and idempotent connection setup are safe: one that changes something may have been done before its answer was lost, and doing it twice is not the same as once (a sign-in approved twice, a PIN tried twice). Every request is named, so a new one is decided here when it is added. - server_
wait - How long the server may hold
requestbefore it answers.