Pudu programming language
Menu

Std.App.Access.get

1 declaration

fn

get: Str -> Std.App.Access.Requirement -> fn(Std.Http.Server.Route.Request) -> Std.Http.Response -> Std.App.Access.Guarded

This is a callable function.

What it does

A route that requires something, for each method.

The requirement and the handler are given together, so there is no state in

which a route exists without one.

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.

Back to Std.App.AccessSearch related declarations