Routes

Static class to create routes.

Members

Static functions

combine
void combine(string sourceRoute, string destinationRoute)

Creates a combination route. Will handle 'sourceRoute' first, then 'destinationRoute' afterwaards. The first route should not create respponse data! For data passing from first route to the second use the request context.

internal
void internal(string route)

Creates an internal route. Internal routes can only be accessed internally, which measn any external access to them will throw an unauthorized error.

redirect
void redirect(string sourceRoute, string destinationRoute)

Creates a redirection route. Will redirect 'sourceRoute' to 'destinationRoute' internally.

Meta