Rho module registry rho-router 0.1.0

rho.router

The module module rho.router, read from src/rho.router.rho. This page is generated from the source, so it describes what the code declares.

Functions

page_limit()

fn page_limit(req: Request, ceiling: u32) u32

page_path()

fn page_path(req: Request) string

search_query()

fn search_query(req: Request) string

Externs

Externs are supplied by the host rather than declared in Rho, which is how a port reaches a service.

ExternSignature
has_fieldextern fn has_field(req: Request, name: string) bool
has_headerextern fn has_header(req: Request, name: string) bool
has_pathextern fn has_path(req: Request, name: string) bool
has_queryextern fn has_query(req: Request, name: string) bool
query_defaultextern fn query_default(req: Request, name: string, fallback: string) string