Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- keepAliveClientApply :: forall acc (m :: Type -> Type). Monad m => (acc -> acc) -> acc -> Int -> KeepAliveClient m acc
- keepAliveServerCount :: forall (m :: Type -> Type). Applicative m => KeepAliveServer m Int
Documentation
:: forall acc (m :: Type -> Type). Monad m | |
=> (acc -> acc) | |
-> acc | |
-> Int | count of number of requests |
-> KeepAliveClient m acc |
A client which applies a function whenever it receives
MsgKeepAliveResponse
and returns the result.
keepAliveServerCount :: forall (m :: Type -> Type). Applicative m => KeepAliveServer m Int Source #
A server which counts number received of MsgKeepAlive
.