chatwork-0.1.2.0: The ChatWork API in Haskell
ChatWork.Client
Synopsis
type Token = ByteString Source #
newtype ChatWorkClient Source #
Constructors
Instances
Associated Types
type ClientScheme ChatWorkClient :: Scheme Source #
Methods
baseUrl :: ChatWorkClient -> Url (ClientScheme ChatWorkClient) Source #
mkHeader :: ChatWorkClient -> Option scheme Source #
class Client a where Source #
By using type class, the same functions can be used for mock servers and local hosts.
Minimal complete definition
baseUrl, mkHeader
type ClientScheme a :: Scheme Source #
baseUrl :: a -> Url (ClientScheme a) Source #
mkHeader :: a -> Option scheme Source #