route( pattern, [target], [name=arguments.pattern] )
- Register a new route with optional target terminators and a nameget( pattern, [target], [name] )
- Register a new route with optional target terminators, a name and a GET http verb restrictionpost( pattern, [target], [name] )
- Register a new route with optional target terminators, a name and a POST http verb restrictionput( pattern, [target], [name] )
- Register a new route with optional target terminators, a name and a PUT http verb restrictionpatch( pattern, [target], [name] )
- Register a new route with optional target terminators, a name and a PATCH http verb restrictionoptions( pattern, [target], [name] )
- Register a new route with optional target terminators, a name and a OPTIONS http verb restrictiongroup( struct options, body )
- Group routes together with options that will be applied to all routes declared in the body
closure/lambda.header( name, value, overwrite=true )
- attach a response header if the route matchesheaders( map, overwrite=true )
- attach multiple response headers if the route matchesas( name )
- Register the route as a named routerc( name, value, overwrite=true )
- Add an RC
value if the route matchedrcAppend map, overwrite=true )
- Add multiple values to the RC
collection if the route matchedprc( name, value, overwrite=true )
- Add an PRC
value if the route matchedprcAppend map, overwrite=true )
- Add multiple values to the PRC
collection if the route matchedwithHandler( handler )
- Map the route to execute a handlerwithAction( action )
- Map the route to execute a single action or a struct that represents verbs and actionswithModule( module )
- Map the route to a modulewithNamespace( namespace )
- Map the route to a namespacewithSSL()
- Force SSLwithCondition( condition )
- Apply a runtime closure/lambda enclosurewithDomain( domain )
- Map the route to a domain or subdomainwithVerbs( verbs )
- Restrict the route to listen to only these HTTP VerbspackageResolver( toggle )
- Turn on/off convention for packagesvaluePairTranslator( toggle )
- Turn on/off automatic name value pair translationsend()
- Register the route as it existstoAction( action )
- Send the route to a specific action or RESTFul action structtoView( view, layout, noLayout=false, viewModule, layoutModule )
- Send the route to a view/layout toRedirect( target, statusCode=301 )
- Relocate the route to another eventto( event )
- Execute the event if the route matchestoHandler( handler )
- Execute the handler if the route matchestoResponse( body, statusCode=200, statusText="ok" )
- Inline response actiontoModuleRouting( module )
- Send to the module router for evaluationtoNamespaceRouting( namespace )
- Send to the namespace router for evaluation