Skip to main content

normalise_input

Function normalise_input 

Source
pub fn normalise_input() -> MiddlewareStack
Expand description

Normalise input — trim strings, and turn "" into null.

Registered globally by the builder. Here as a value too, so an application that wants it on some routes and not others can say so.