Pudu programming language
Menu

Std.App.Access.on

1 declaration

fn

on: Std.Http.Method -> 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 requiring something, for a method this module does not name.

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