Std.Http.Retry.repeatable
1 declaration
fn
repeatable: &Std.Http.Request -> BoolThis is a callable function.
What it does
Whether a request may be sent twice without meaning something different.
The question a retry actually turns on, and the one that is usually skipped.
Reading the same thing twice is reading it; charging a card twice is
charging it twice. A POST is therefore not retried here unless the caller
says it carries a key that makes a repeat harmless.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
