Sisk

Namespace

Sisk.Core.Routing

Namespace
Sisk.Core.Routing

Classes #

NameDescription
AsyncRequestHandlerRepresents a class that implements IRequestHandler and its execution method is asynchronous.
RegexRouteRepresents an Route which it’s path is interpreted as an regular expression.
RegexRouteAttributeRepresents a mapping to an route, which it’s path is defined by an regular expression. This attribute is an shorthand from RouteAttribute.
RequestHandlerRepresents an abstract class which implements IRequestHandler.
RequestHandlerAttribute<T>Specifies that the method or class, when used on this attribute, will instantiate the type and call the IRequestHandler with given parameters.
RequestHandlerAttributeSpecifies that the method or class, when used on this attribute, will instantiate the type and call the IRequestHandler with given parameters.
RouteRepresents an HTTP route to be matched by an Router.
RouteAttributeRepresents an class that, when applied to a method, will be recognized by a router as a route.
RouteDeleteAttributeRepresents a mapping to an HTTP DELETE route. This attribute is an shorthand from RouteAttribute.
RouteGetAttributeRepresents a mapping to an HTTP GET route. This attribute is an shorthand from RouteAttribute.
RouteMatchRepresents the result of a route matching operation.
RouteMetadataAttributeRepresents metadata associated with a route. This attribute can be applied to classes or methods to add key-value pairs to the Bag dictionary.
RoutePatchAttributeRepresents a mapping to an HTTP PATCH route. This attribute is an shorthand from RouteAttribute.
RoutePostAttributeRepresents a mapping to an HTTP POST route. This attribute is an shorthand from RouteAttribute.
RoutePrefixAttributeRepresents an attribute that, when applied to an class containing routes, all child routes will start with the specified prefix.
RoutePutAttributeRepresents a mapping to an HTTP PUT route. This attribute is an shorthand from RouteAttribute.
RouteQueryAttributeRepresents a mapping to an HTTP QUERY route. This attribute is an shorthand from RouteAttribute.
RouterRepresents a collection of Route and main executor of actions in the HttpServer.
RouterModuleIndicates 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 #

NameDescription
IRequestHandlerRepresents an interface that is executed before a request.

Enums #

NameDescription
LogOutputDetermines 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.
RequestHandlerExecutionModeDefines when the IRequestHandler should be executed.
RouteMethodRepresents an HTTP method to be matched in an Route.

Delegates #

NameDescription
ExceptionErrorCallbackRepresents the function that is called after the route action threw an exception.
ParameterlessRouteActionRepresents the function that is called after the route is matched with the request.
RouteActionRepresents 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.
RoutingErrorCallbackRepresents the function that is called when an request reaches an error on the router.

Type to search the documentation and the API reference.