Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type RequestPath = ByteString
- type Body = ByteString
- 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
- emptyBody :: ByteString
Documentation
type RequestPath = ByteString Source #
Serialized as a part of building CBAccessSign
type Body = ByteString 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