Namespace Sisk.Core.Routing
Classes
- AsyncRequestHandler
Represents a class that implements IRequestHandler and its execution method is asynchronous.
- RegexRoute
Represents an Route which it's implementation already enables UseRegex.
- RegexRouteAttribute
Represents a mapping to an route, which it's path is defined by an regular expression. This attribute is an shorthand from RouteAttribute.
- RequestHandler
Represents an abstract class which implements IRequestHandler.
- RequestHandlerAttribute
Specifies that the method or class, when used on this attribute, will instantiate the type and call the IRequestHandler with given parameters.
- RequestHandlerAttribute<T>
Specifies that the method or class, when used on this attribute, will instantiate the type and call the IRequestHandler with given parameters.
- RouteAttribute
Represents an class that, when applied to a method, will be recognized by a router as a route.
- RouteDeleteAttribute
Represents a mapping to an HTTP DELETE route. This attribute is an shorthand from RouteAttribute.
- RouteGetAttribute
Represents a mapping to an HTTP GET route. This attribute is an shorthand from RouteAttribute.
- RoutePatchAttribute
Represents a mapping to an HTTP PATCH route. This attribute is an shorthand from RouteAttribute.
- RoutePostAttribute
Represents a mapping to an HTTP POST route. This attribute is an shorthand from RouteAttribute.
- RoutePrefixAttribute
Represents an attribute that, when applied to an class containing routes, all child routes will start with the specified prefix.
- RoutePutAttribute
Represents a mapping to an HTTP PUT route. This attribute is an shorthand from RouteAttribute.
- Router
Represents a collection of Route and main executor of actions in the HttpServer.
- RouterModule
Indicates that extended class supports router modules, which allows the management of routes, request handlers and prefixes.
- ValueResult<T>
Represents a mutable type for boxing objects by value or reference in a response from a router.
Interfaces
- IRequestHandler
Represents an interface that is executed before a request.
Enums
- LogOutput
Determines the way the server can write log messages. This enumerator is for giving permissions for certain contexts to be able or not to write to the server logs, such as AccessLogsStream and ErrorsLogsStream.
- RequestHandlerExecutionMode
Defines when the IRequestHandler object should be executed.
- RouteMethod
Represents an HTTP method to be matched in an Route.
Delegates
- ExceptionErrorCallback
Represents the function that is called after the route action threw an exception.
- ParameterlessRouteAction
Represents the function that is called after the route is matched with the request.
- RouteAction
Represents the function that is called after the route is matched with the request.
- RouterActionHandlerCallback<T>
Represents the function that receives an object of the
T
and returns an HttpResponse response from the informed object.
- RoutingErrorCallback
Represents the function that is called when an request reaches an error on the router.