diamond.http.routing

Copyright © DiamondMVC 2019

Members

Classes

Route
class Route
Undocumented in source.
RouteEntry
class RouteEntry

A route entry.

Routes
class Routes

Static class to create routes.

Enums

RouteMode
enum RouteMode

Enumeration of route modes.

SpecializedRouteType
enum SpecializedRouteType

Enumeration of specialized route types.

Functions

addSpecializedRoute
void addSpecializedRoute(SpecializedRouteType routeType, string route, string value)

Adds a specialized route.

addViewRoute
void addViewRoute(string route, string viewName)

Adds a route to a view.

getViewNameFromRoute
string getViewNameFromRoute(string route)

Gets the view name from a custom route.

handleRoute
auto handleRoute(bool isInternal, string route)

Handling a route.

handleSpecializedRoute
bool handleSpecializedRoute(HttpClient client)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

hasRoutes
bool hasRoutes [@property getter]

Gets a boolean determining whether there are routes specified.

hasSpecializedRoutes
bool hasSpecializedRoutes [@property getter]

Gets a boolean determining whether there are special routes specified.

Meta

Authors

Jacob Jensen (bausshf)