Std.Http.Server.logging
fn
logging: fn(Str) -> () -> fn(Std.Http.Server.Route.Request, fn(Std.Http.Server.Route.Request) -> Std.Http.Response) -> Std.Http.ResponseThis is a callable function.
What it does
A step that writes a line about every request once its answer is known.
Given as an example of the shape as much as for its own sake: it calls on,
times what it wrapped, and reports afterwards, which is what a step that
only ran before could not do.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
