twilio-0.3.0.0: Twilio REST API library for Haskell

Copyright(C) 2017- Mark Andrus Roberts
LicenseBSD-style (see the file LICENSE)
MaintainerMark Andrus Roberts <markandrusroberts@gmail.com>
Stabilityprovisional
Safe HaskellNone
LanguageHaskell98

Twilio.Tokens

Contents

Description

 

Synopsis

Resource

data Token #

Constructors

Token 

Instances

Eq Token # 

Methods

(==) :: Token -> Token -> Bool #

(/=) :: Token -> Token -> Bool #

Show Token # 

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #

FromJSON Token # 

Methods

parseJSON :: Value -> Parser Token

parseJSONList :: Value -> Parser [Token]

Post0 Token # 

Methods

post0 :: MonadThrow m => TwilioT m Token #

Post1 Integer Token # 

Methods

post1 :: MonadThrow m => Integer -> TwilioT m Token #

Post1 (Maybe Integer) Token # 

Methods

post1 :: MonadThrow m => Maybe Integer -> TwilioT m Token #

data IceServer #

Constructors

StunServer 

Fields

TurnServer 

Fields

Instances

Eq IceServer # 
Show IceServer # 
FromJSON IceServer # 

Methods

parseJSON :: Value -> Parser IceServer

parseJSONList :: Value -> Parser [IceServer]

post :: MonadThrow m => Maybe Integer -> TwilioT m Token #