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
- Represents a resolved route.
- 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
- Provides a scoped router interface, automatically adds a prefix to any routes added.
Traits
- RouteHandlerTrait
- Provides an implementation of IRouteHandler::registerRoutes that uses the attributes.
- RouterTrait
- Contains implementations for HTTP request method handler registration.