coinbase-pro-0.9.2.2: Client for Coinbase Pro
Safe HaskellNone
LanguageHaskell2010

CoinbasePro.Request

Synopsis

Documentation

type RequestPath = ByteString Source #

Serialized as a part of building CBAccessSign

type Body = ByteString Source #

Sequenced `ClientM a` that result in `IO a`

type CBRequest a = UserAgent -> ClientM a Source #

Serialized as a part of building CBAccessSign

run :: Environment -> Runner a Source #

Runs a coinbase pro HTTPS request and returns the result a

run Production products >>= print

run_ :: Environment -> Runner () Source #

Same as run, except uses () instead of a type a

runWithManager :: Manager -> Environment -> Runner a Source #

Allows the user to use their own ManagerSettings with run

do $
mgr  <- newManager tlsManagerSettings
prds <- runWithManager mgr Production products
print prds

type Runner a = ClientM a -> IO a Source #