h$>      None 38>?servant-http-streamsClientM; is the monad in which client functions run. Contains the  and  - used for requests in the reader environment.servant-http-streams*The environment in which a request is run.! carries an open connection. See .servant-http-streams smart constructor.servant-http-streamsOpen a connection to  . servant-http-streams/Generates a set of client functions for an API.Example: type API = Capture "no" Int :> Get '[JSON] Int :<|> Get '[JSON] [Bool] api :: Proxy API api = Proxy getInt :: Int -> ClientM Int getBools :: ClientM [Bool] getInt :<|> getBools = client api servant-http-streamsChange the monad the client functions live in, by supplying a conversion function (a natural transformation to be precise).$For example, assuming you have some  manager :: Manager and  baseurl ::   around: type API = Get '[JSON] Int :<|> Capture "n" Int :> Post '[JSON] Int api :: Proxy API api = Proxy getInt :: IO Int postInt :: Int -> IO Int getInt :<|> postInt = hoistClient api (flip runClientM cenv) (client api) where cenv = mkClientEnv manager baseurlservant-http-streams.Try clients in order, last error is preserved.   None.!"#$%#&'()*+,-./0123456789:; <=>?@A        !"#$%&'(&')#*#*+#*,#*-#*.#*.#/0#/1#/2#/3#/4#/5#67#68#69#6:#6;#6<#68#6=#$>#$?#$@#$A#$B#$%#$C#$D#$E#$F#$G2servant-http-streams-0.18.2-Af5YHAemtwW9mt4C8tJ8HtServant.HttpStreams.InternalClientManagerServant.HttpStreamsClientM unClientM ClientEnvbaseUrl connection mkClientEnvwithClientEnvIOclient hoistClient runClientM withClientMperformRequestperformWithStreamingRequestmkFailureResponseclientResponseToResponserequestToClientRequestcatchConnectionErrorfromInputStreamtoOutputStream$fRunStreamingClientClientM$fRunClientClientM $fAltClientM$fMonadBaseIOClientM$fFunctorClientM$fApplicativeClientM$fMonadClientM$fMonadIOClientM$fGenericClientM$fMonadReaderClientEnvClientM$fMonadErrorClientErrorClientM1servant-client-core-0.18.2-J7kLWfOdgiZ4GJLSsc94UnServant.Client.Core.BaseUrlBaseUrl%servant-0.18.2-80drE78NifXC7j6gzxhw1KServant.API.UVerb.Union matchUnion foldMapUnionServant.Client.Core.HasClient HasClienthoistClientMonadclientWithRoute EmptyClientServant.Client.Core.ClientError ClientErrorConnectionErrorInvalidContentTypeHeaderUnsupportedContentTypeFailureResponse DecodeFailureServant.Client.Core.Response ResponseFResponse responseBodyresponseHttpVersionresponseStatusCoderesponseHeadersStreamingResponse parseBaseUrl showBaseUrlSchemeHttpHttps baseUrlPath baseUrlPort baseUrlScheme baseUrlHostInvalidBaseUrlException