hunt-http ~master (2022-03-03T02:59:30Z)
Home
Dub
Repo
Builder.onRequest
hunt
http
server
HttpServer
HttpServer
Builder
Undocumented in source. Be warned that the author may not have intended to support it.
class
Builder
Builder
onRequest
(
string
method
,
string
path
,
RoutingHandler
handler
,
string
groupName
= null
,
RouteGroupType
groupType
=
RouteGroupType.Host
)
Meta
Source
See Implementation
hunt
http
server
HttpServer
HttpServer
Builder
aliases
addNotFoundRoute
constructors
this
functions
addRegexRoute
addRoute
build
canUpgrade
enableLocalSessionStore
ioThreadSize
isB3HeaderRequired
localServiceName
maxFileSize
maxRequestSize
onDelete
onError
onGet
onPost
onPut
onRequest
requiresClientAuth
resource
resourceCacheTime
setCaCert
setDefaultRequest
setHandler
setListener
setTLS
websocket
workerThreadSize
manifest constants
DeleteMethod
GetMethod
PostMethod
PutMethod