Std.App.Idempotency.guarded
1 declaration
fn
guarded: Std.App.Idempotency.Shared -> fn() -> Int -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseA step answering a repeated key with the stored answer.
Requests without a key, and GET, HEAD, and OPTIONS requests, pass through. A key reused with a different request is 422, a key whose first request is still running is 409, and a full store is 503; each is a problem body. A replay carries Idempotent-Replayed: true.
