Copyright | (c) Moritz Clasmeier 2017 2018 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Network.Nakadi.Types.Config
Description
This module provides the Nakadi Config Types.
Synopsis
- data Config m
- type ConfigIO = Config IO
- type StreamConnectCallback m = Response () -> m ()
- data HttpBackend b = HttpBackend {
- _httpLbs :: Config b -> Request -> Maybe Manager -> b (Response ByteString)
- _httpResponseOpen :: Config b -> Request -> Maybe Manager -> b (Response (ConduitM () ByteString b ()))
- _httpResponseClose :: Response () -> b ()
Documentation
Instances
type StreamConnectCallback m = Response () -> m () Source #
Config
data HttpBackend b Source #
Constructors
HttpBackend | |
Fields
|
Instances
HasNakadiHttp (Config m) (HttpBackend m) | |
Defined in Network.Nakadi.Internal.Lenses Methods http :: Lens' (Config m) (HttpBackend m) | |
HasNakadiHttpResponseOpen (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response (ConduitM () ByteString b ()))) | |
Defined in Network.Nakadi.Internal.Lenses Methods httpResponseOpen :: Lens' (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response (ConduitM () ByteString b ()))) | |
HasNakadiHttpResponseClose (HttpBackend b) (Response () -> b ()) | |
Defined in Network.Nakadi.Internal.Lenses Methods httpResponseClose :: Lens' (HttpBackend b) (Response () -> b ()) | |
HasNakadiHttpLbs (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response ByteString)) | |
Defined in Network.Nakadi.Internal.Lenses Methods httpLbs :: Lens' (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response ByteString)) |