Skip to main content

translatable_middleware

Function translatable_middleware 

Source
pub async fn translatable_middleware(req: Request, next: Next) -> Response
Expand description

RustBasic Middleware to extract client’s preferred language and bind it to the request scope