Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data path :> a infixr 9 Source
The contained API (second argument) can be found under ("/" ++ path)
(path being the first argument).
Example:
-- GET /hello/world -- returning a JSON encoded World value type MyApi = "hello" :> "world" :> Get World
(KnownSymbol s, VLinkHelper * e) => VLinkHelper * ((:>) Symbol s e) |