Module

Erl.Cowboy.Routes

Package
erl-cowboy
Repository
purerl/purescript-erl-cowboy

Bindings for cowboy_router

#InitialState Source

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 Source

newtype Route

Constructors

#MatchSpec Source

data MatchSpec :: Type

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

#Dispatch Source

data Dispatch :: Type