Pudu programming language
Menu

Std.App.Bind.bind

1 declaration

fn

bind: &Std.Http.Server.Route.Request -> &Array[Std.App.Bind.Wanted] -> Std.App.Bind.Bound

This is a callable function.

What it does

What a request carried, checked against what was wanted.

Reading and checking are one step, and every field that was wrong is in the

report rather than only the first: a caller correcting a request wants the

whole list.

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.
  • & borrows a value for this call instead of moving or copying it.
  • Names inside [ ] are type arguments, such as the item type held by a collection.

Back to Std.App.BindSearch related declarations