Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- withReliableSocket :: (FromJSON sp, ToJSON ap, MonadIO m, MonadUnliftIO m, KatipContext m) => SocketConfig ap sp m -> (Socket sp ap -> m a) -> m a
- checkVersion' :: Applicative m => ServiceInfo -> m (Either Text ())
- data Socket r w = Socket {}
- syncIO :: Socket r w -> IO ()
- data SocketConfig ap sp m = SocketConfig {
- makeHello :: m ap
- checkVersion :: sp -> m (Either Text ())
- baseURL :: URI
- path :: Text
- token :: ByteString
Documentation
withReliableSocket :: (FromJSON sp, ToJSON ap, MonadIO m, MonadUnliftIO m, KatipContext m) => SocketConfig ap sp m -> (Socket sp ap -> m a) -> m a Source #
checkVersion' :: Applicative m => ServiceInfo -> m (Either Text ()) Source #
data SocketConfig ap sp m Source #
Parameters to start withReliableSocket
.
SocketConfig | |
|