smsaero-0.2: SMSAero API and HTTP client based on servant library.

Copyright(c) 2015, GetShopTV
LicenseBSD3
Maintainernickolay@getshoptv.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

SMSAero.Client

Description

SMSAero HTTP servant client and individual client functions.

Synopsis

Documentation

type SmsAero a = EitherT ServantError IO (SmsAeroResponse a) Source

Common SMSAero client type.

smsAeroStatus :: SMSAeroAuth -> MessageId -> SmsAero StatusResponse Source

Check status of a previously sent message.

smsAeroSenders :: SMSAeroAuth -> SmsAero SendersResponse Source

Check the list of available sender signatures.

smsAeroSign :: SMSAeroAuth -> SmsAero SignResponse Source

Acquire a new signature.