vibe-d ~master (2022-11-16T10:14:41Z)
Home
Dub
Repo
URLRouter.get
index
vibe
http
router
URLRouter
Adds a new route for GET requests matching the specified pattern.
URLRouter
get
(string url_match, Handler handler)
class
URLRouter
@
safe
URLRouter
get
(
Handler
)
(
string
url_match
,
Handler
handler
)
if
(
isValidHandler
!
Handler
)
URLRouter
get
(string url_match, 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 GET requests matching the specified pattern.