2017-09-13 18:36:20 +02:00
|
|
|
-- | This module is a utility for @servant-client-core@ backend writers. It
|
2017-09-14 19:21:53 +02:00
|
|
|
-- contains all the functionality from @servant-client-core@ that should be
|
2017-09-13 18:36:20 +02:00
|
|
|
-- re-exported.
|
|
|
|
module Servant.Client.Core.Reexport
|
|
|
|
(
|
|
|
|
-- * HasClient
|
|
|
|
HasClient(..)
|
2018-01-30 17:40:02 +01:00
|
|
|
|
2017-09-13 18:36:20 +02:00
|
|
|
-- * Response (for @Raw@)
|
2018-01-30 17:40:02 +01:00
|
|
|
, Response
|
|
|
|
, StreamingResponse
|
|
|
|
, GenResponse(..)
|
2017-09-13 18:36:20 +02:00
|
|
|
|
|
|
|
-- * Generic Client
|
|
|
|
, ClientLike(..)
|
|
|
|
, genericMkClientL
|
|
|
|
, genericMkClientP
|
|
|
|
, ServantError(..)
|
|
|
|
, EmptyClient(..)
|
|
|
|
|
|
|
|
-- * BaseUrl
|
|
|
|
, BaseUrl(..)
|
|
|
|
, Scheme(..)
|
|
|
|
, showBaseUrl
|
|
|
|
, parseBaseUrl
|
|
|
|
, InvalidBaseUrlException
|
|
|
|
) where
|
|
|
|
|
|
|
|
|
|
|
|
import Servant.Client.Core.Internal.BaseUrl
|
|
|
|
import Servant.Client.Core.Internal.Generic
|
2018-06-30 21:17:08 +02:00
|
|
|
import Servant.Client.Core.Internal.HasClient
|
2017-09-13 18:36:20 +02:00
|
|
|
import Servant.Client.Core.Internal.Request
|