servant-client-core
Core functionality and class for client function generation for servant APIs
servant-client-core

HTTP-client-agnostic client functions for servant APIs.
This library should mainly be of interest to backend- and combinator-writers.
For backend-writers
If you are creating a new backend, you'll need to:
- Define a
RunClientinstance for your datatype (call itMyMonad) - Define a
ClientLikeinstance. This will look like:
instance ClientLike (MyMonad a) (MyMonad a) where
mkClient = id
- Re-export the module Servant.Client.Core.Reexport so that your end-users can be blissfully unaware of 'servant-client-core', and so each backend-package comes closer to the warm hearth of the drop-in-replacement equivalence class.
For combinator-writers
You'll need to define a new HasClient instance for your combinator. There are
plenty of examples to guide you in the
HasClient module.
- attoparsec >= 0.13.2.2 && < 0.15
- base >= 4.16.4.0 && < 4.23
- bytestring >=0.11 && <0.13
- constraints >=0.2 && <0.15
- containers >=0.6.5.1 && <0.9
- deepseq >=1.4.2.0 && <1.6
- template-haskell >=2.11.1.0 && <2.25
- text >=1.2.3.0 && <2.2
- servant >=0.20.3
- aeson >=1.4.1.0 && <3
- base-compat >=0.10.5 && <0.16
- base64-bytestring >=1.0.0.1 && <1.3
- exceptions >=0.10.0 && <0.11
- free >=5.1 && <5.3
- http-media >=0.7.1.3 && <0.9
- http-types >=0.12.2 && <0.13
- network-uri >=2.6.1.0 && <2.7
- safe >=0.3.17 && <0.4
- sop-core >=0.4.0.0 && <0.6
- 0.20.3.0
- 0.20.2
- 0.20.1
- 0.20
- 0.19
- 0.18.3
- 0.18.2
- 0.18.1
- 0.18
- 0.17
- 0.16
- 0.15
- 0.14.1
- 0.14
- 0.13.0.1
- 0.13
- 0.12