Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type RequestPath = String
- type Body = String
- type CBGet a = UserAgentHeader :> Get '[JSON] a
- type CBRequest a = UserAgent -> ClientM a
- run :: Environment -> ClientM a -> IO a
- run_ :: Environment -> ClientM a -> IO ()
- runWithManager :: Manager -> Environment -> ClientM a -> IO a
- type Runner a = ClientM a -> IO a
Documentation
type RequestPath = String Source #
run :: Environment -> ClientM a -> IO a Source #
Runs a coinbase pro HTTPS request and returns the result a
run Production products >>= print
runWithManager :: Manager -> Environment -> ClientM a -> IO a Source #
Allows the user to use their own ManagerSettings
with run
do $ mgr <- newManager tlsManagerSettings prds <- runWithManager mgr Production products print prds