Optional
routeReference to the current route. Not available inside server middleware
Optional
routeA unique key for the current route
Route params
Route subdomains
The HTTP request instance
The HTTP response instance
The logger instance
The IoC container resolver
Static
usingFind if async localstorage is enabled for HTTP requests or not
Static
getGet access to the HTTP context. Available only when "usingAsyncLocalStorage" is true
Static
getGet the HttpContext instance or raise an exception if not available
Static
runA helper to see top level properties on the context object
Http context encapsulates properties for a given HTTP request. The context class can be extended using macros and getters.