webgear-server-1.0.1: Composable, type-safe library to build HTTP API servers
Safe HaskellNone
LanguageHaskell2010

WebGear.Server.Trait.Path

Description

Server implementation of the path traits.

Orphan instances

Monad m => Get (ServerHandler m) PathEnd Request Source # 
Instance details

Monad m => Get (ServerHandler m) Path Request Source # 
Instance details

(Monad m, FromHttpApiData val) => Get (ServerHandler m) (PathVar tag val) Request Source # 
Instance details

Methods

getTrait :: forall (ts :: [Type]). PathVar tag val -> ServerHandler m (Linked ts Request) (Either (Absence (PathVar tag val) Request) (Attribute (PathVar tag val) Request)) #