Skip to main content

fall_through

Function fall_through 

Source
pub async fn fall_through(
    app_conf: Data<ApplicationConfiguration>,
    store: Data<MockSuotarStore>,
    pool: Data<PgPool>,
    req: HttpRequest,
    payload: Payload,
) -> ControllerResult<HttpResponse>
Expand description

Anything under the prefix that no route serves, including a wrong method. A valid key falls through to Suotar’s internal routes, whose refusal is a bare string rather than the envelope.