module Orion::Router::Constraints

Direct including types

Defined in:

orion/router/constraints.cr

Macro Summary

Macro Detail

macro constraint(constraint) #

Constrain routes by an Orion::Constraint


[View source]
macro constraints(*constraints) #

Constrain routes by one or more Orion::Constraints


[View source]
macro host(host) #

Constrain routes by a given domain


[View source]
macro subdomain(subdomain) #

Constrain routes by a given subdomain


[View source]