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

CoinbasePro.Request

Synopsis

Documentation

type RequestPath = ByteString Source #

Serialized as a part of building CBAccessSign

type CBRequest a = UserAgent -> ClientM a Source #

Serialized as a part of building CBAccessSign

run :: Environment -> ClientM a -> IO a Source #

Runs a coinbase pro HTTPS request and returns the result a

run Production products >>= print

run_ :: Environment -> ClientM a -> IO () Source #

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

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

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