Pudu programming language
Menu
API reference

Std.Http.Safe.reservedHost

1 declaration

fn

reservedHost: Str -> Bool

This is a callable function.

What it does

Whether a host is one the network trusts and a request should not be able

to make a server reach.

A server that fetches what it was told to fetch is a way to reach what only

the server can reach: the machine itself, the network it sits on, and the

address that answers with the credentials of the environment it runs in.

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.Http.SafeSearch related declarations