Routing
Table of Contents
Interfaces
- IRouteHandler
- Provides the interface for IRouter::register().
- IRouter
Classes
- HandlerAttribute
- Provides base for attributes that mark methods in a class as handlers.
- HttpDelete
- Provides an attribute for marking methods in a class as a DELETE route.
- HttpGet
- Provides an attribute for marking methods in a class as a GET route.
- HttpMiddleware
- Provides an attribute for marking methods in a class as middleware.
- HttpOptions
- Provides an attribute for marking methods in a class as a OPTIONS route.
- HttpPatch
- Provides an attribute for marking methods in a class as a POST route.
- HttpPost
- Provides an attribute for marking methods in a class as a POST route.
- HttpPut
- Provides an attribute for marking methods in a class as a PUT route.
- HttpRoute
- Provides an attribute for marking methods in a class as a route.
- HttpRouter
- ResolvedRouteInfo
- RouteHandler
- Provides an abstract class version of IRouteHandler that already includes the trait as well,
letting you only have to use one use statement rather than two!
- ScopedRouter
Traits
- RouteHandlerTrait
- Provides an implementation of IRouteHandler::registerRoutes that uses the attributes.
- RouterTrait