typed-protocols-examples
Safe HaskellNone
LanguageHaskell2010

Network.TypedProtocol.Stateful.ReqResp.Examples

Synopsis

Documentation

fileRPCServer Source #

Arguments

:: Monad m 
=> (forall resp. FileAPI resp -> m resp)

execute FileAPI locally

-> ReqRespServer FileAPI m () 

simpleFileAPI :: Monad m => FileAPI resp -> m resp Source #

Example of a file API