Skip to main content

Fallback

Type Alias Fallback 

Source
pub type Fallback<B> = fn(ServiceRequest, &Error) -> Result<ServiceResponse<EitherBody<B>>, Error>;
Expand description

The fallback function when service is rejected by sentinel.