Std.Http.Message.redirect
1 declaration
fn
redirect: Int -> Str -> Std.Http.ResponseThis is a callable function.
What it does
A redirect to a target, with the status a caller chooses.
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.
