Crate viz_router

source
Expand description

Router for Viz Web Framework

Structs§

  • Matched route path infomation.
  • A path tree.
  • A resourceful route provides a mapping between HTTP verbs and URLs to handlers.
  • A collection of verb-handler pair.
  • A routes collection.
  • Store all final routes.

Functions§

  • Creates a route with a handler and any HTTP verbs.
  • Creates a route with a handler and HTTP CONNECT verb pair.
  • Creates a route with a handler and HTTP DELETE verb pair.
  • Creates a route with a handler and HTTP GET verb pair.
  • Creates a route with a handler and HTTP HEAD verb pair.
  • Creates a route with a handler and HTTP verb pair.
  • Creates a route with a handler and HTTP OPTIONS verb pair.
  • Creates a route with a handler and HTTP PATCH verb pair.
  • Creates a route with a handler and HTTP POST verb pair.
  • Creates a route with a handler and HTTP PUT verb pair.
  • Creates a route with a handler and HTTP TRACE verb pair.