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
#anyPath Source
anyPath :: NativeModuleName -> InitialState -> Path
#path Source
path :: String -> NativeModuleName -> InitialState -> Path