hunt.http.routing.RoutingContext

Undocumented in source.

Members

Aliases

Handler
deprecated alias Handler = RouteHandler
Undocumented in source.
RoutingHandler
alias RoutingHandler = void delegate(RoutingContext routingContext)
Undocumented in source.

Classes

RoutingContext
class RoutingContext

A new RoutingContext(ctx) instance is created for each HTTP request. <p> You can visit the RoutingContext instance in the whole router chain. It provides HTTP request/response API and allows you to maintain arbitrary data that lives for the lifetime of the context. Contexts are discarded once they have been routed to the handler for the request. <p> The context also provides access to the Session, cookies and body for the request, given the correct handlers in the application.

Interfaces

RouteHandler
interface RouteHandler

Meta