Directives

frontroute.Directives
trait Directives

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def extractMatchedPath: Directive[List[String]]
def historyState: Directive[Option[Any]]
def maybeParam(name: String): Directive[Option[String]]
def multiParam(name: String): Directive[Seq[String]]
def param(name: String): Directive[String]
def path[T](m: PathMatcher[T]): Directive[T]
def pathPrefix[T](m: PathMatcher[T]): Directive[T]
def provide[L](value: L): Directive[L]
def provideOption[L](value: Option[L]): Directive[L]
def testPath[T](m: PathMatcher[T]): Directive[T]
def whenFalse(condition: => Boolean): Directive0
def whenTrue(condition: => Boolean): Directive0

Concrete fields

val extractHost: Directive[String]
val extractHostname: Directive[String]
val extractOrigin: Directive[String]
val extractPort: Directive[String]
val extractProtocol: Directive[String]
val extractUnmatchedPath: Directive[List[String]]