LEVIATHAN v962456e · 962456eee1

atlantis · Routing

class Route<C>

since 0.1.0-alpha.1linux

Constructors

new

new(string path, () => C factory, (C, Http::Context) => HttpResponse invoke)

Fields

authMode

int authMode

authRole

string authRole

factory

() => C factory

invoke

isFragment

bool isFragment

path

string path

routeName

string routeName

verbs

int verbs

Methods

actionKey

actionKey() -> string

auth

auth(string role) -> Route<C>

fragment

fragment() -> Route<C>

name

name(string n) -> Route<C>

noAuth

noAuth() -> Route<C>

requestType

requestType(int t) -> Route<C>

requireAuth

requireAuth() -> Route<C>

toHandler

toHandler() -> (Http::Context) => HttpResponse