vibe-d ~master (2022-11-16T10:14:41Z)
Home
Dub
Repo
URLRouter.match
index
vibe
http
router
URLRouter
Adds a new route for requests matching the specified HTTP method and pattern.
URLRouter
match
(HTTPMethod method, string path, Handler handler)
class
URLRouter
@
safe
URLRouter
match
(
Handler
)
(
HTTPMethod
method
,
string
path
,
Handler
handler
)
if
(
isValidHandler
!
Handler
)
URLRouter
match
(HTTPMethod method, string path, HTTPServerRequestDelegate handler)
Meta
Source
See Implementation
index
vibe
http
router
URLRouter
constructors
this
functions
any
delete_
get
getAllRoutes
handleRequest
match
patch
post
put
rebuild
route
properties
enableRootDir
prefix
static functions
handlerDelegate
templates
isValidHandler
Adds a new route for requests matching the specified HTTP method and pattern.