eved-0.0.3.0: A value level web framework
Safe HaskellNone
LanguageHaskell2010

Web.Eved.Server

Documentation

data RequestData a Source #

Instances

Instances details
Functor RequestData Source # 
Instance details

Defined in Web.Eved.Server

Methods

fmap :: (a -> b) -> RequestData a -> RequestData b #

(<$) :: a -> RequestData b -> RequestData a #

newtype EvedServerT m a Source #

Constructors

EvedServerT 

Fields

Instances

Instances details
EvedAuth (EvedServerT m) Source # 
Instance details

Defined in Web.Eved.Auth

Methods

auth_ :: NonEmpty (AuthScheme a) -> EvedServerT m b -> EvedServerT m (a -> b) Source #

Eved (EvedServerT m) m Source # 
Instance details

Defined in Web.Eved.Server

Methods

(.<|>) :: EvedServerT m a -> EvedServerT m b -> EvedServerT m (a :<|> b) Source #

lit :: Text -> EvedServerT m a -> EvedServerT m a Source #

capture :: Text -> UrlElement a -> EvedServerT m b -> EvedServerT m (a -> b) Source #

reqBody :: NonEmpty (ContentType a) -> EvedServerT m b -> EvedServerT m (a -> b) Source #

queryParam :: Text -> QueryParam a -> EvedServerT m b -> EvedServerT m (a -> b) Source #

header :: Text -> Header a -> EvedServerT m b -> EvedServerT m (a -> b) Source #

verb :: StdMethod -> Status -> NonEmpty (ContentType a) -> EvedServerT m (m a) Source #

server :: (forall a. m a -> IO a) -> a -> EvedServerT m a -> Application Source #