Module

Erl.Cowboy.Routes

Bindings for cowboy_router

#InitialState

newtype InitialState

Initial state of a route. Different routes will have different underlying state types, this is not safe and is not linked to the actual module state type :(

Constructors

#Route

newtype Route

Constructors

#MatchSpec

data MatchSpec

Match spec for host or route (string host/path or placeholder _)

#anyMatchSpec

#matchSpec

#Dispatch

#compile

#anyHost

#host

Modules