namespace Http

Type Aliases

T
Http.Handler

URL route handler.

T
Http.Http

HTTP context.

T
Http.Route

URL route.

T
T
Http.Server
No documentation available

Variables

v
Http.get

Only handle if HTTP method is GET.

v
Http.guard

If condition doesn't match, return with specified code.

v
Http.matchRoute

Match URL from request against route patterns.

v
Http.method

Only handle if HTTP method matches.

v
Http.param

Set request parameter.

v
Http.post

Only handle if HTTP method is POST.

v
Http.route

Define URL route.

v
Http.serveHttp

Define HTTP server.