Pudu programming language
Menu

Std.App.Access.patch

1 declaration

fn

patch: 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 answering PATCH, allowed only when the requirement is met.

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