Expand description
Router for Viz Web Framework
Structs§
- Path
- Matched route path infomation.
- Path
Tree - A path tree.
- Resources
- A resourceful route provides a mapping between HTTP verbs and URLs to handlers.
- Route
- A collection of verb-handler pair.
- Router
- A routes collection.
- Tree
- Store all final routes.
Functions§
- any
- Creates a route with a handler and any HTTP verbs.
- connect
- Creates a route with a handler and HTTP
CONNECTverb pair. - delete
- Creates a route with a handler and HTTP
DELETEverb pair. - get
- Creates a route with a handler and HTTP
GETverb pair. - head
- Creates a route with a handler and HTTP
HEADverb pair. - on
- Creates a route with a handler and HTTP verb pair.
- options
- Creates a route with a handler and HTTP
OPTIONSverb pair. - patch
- Creates a route with a handler and HTTP
PATCHverb pair. - post
- Creates a route with a handler and HTTP
POSTverb pair. - put
- Creates a route with a handler and HTTP
PUTverb pair. - trace
- Creates a route with a handler and HTTP
TRACEverb pair.