TinyHttp client

package Library
subpackage Twilio\Client
author Aleksey Korzun

 Methods

Magic call method

__call(string $method, string[] $arguments) : string[]

Parameters

$method

string

$arguments

string[]

Exceptions

\Twilio\Client\TinyHttp_Exception

Returns

string[]

Constructor that setups basic options

__construct(string | bool $uri, string[] $parameters) 

Parameters

$uri

stringbool

$parameters

string[]

Get identifier we use for authentication

identifier() : string
Inherited
inherited_from \Twilio\Client\Client::identifier()

Returns

string

Set identifier to use when making a request that requires authentication

setIdentifier(string $identifier) 
Inherited
inherited_from \Twilio\Client\Client::setIdentifier()

Parameters

$identifier

string

Set token to use when making a request that requires authentication

setToken(string $token) 
Inherited
inherited_from \Twilio\Client\Client::setToken()

Parameters

$token

string

 Properties

 

$host : string
 

$port : int
 

$scheme : string
 

$identifier : string
Inherited
inherited_from \Twilio\Client\Client::$identifier
 

$isDebug : bool
Inherited
inherited_from \Twilio\Client\Client::$isDebug
 

$options : string[]
Inherited
inherited_from \Twilio\Client\Client::$options
 

$token : string
Inherited
inherited_from \Twilio\Client\Client::$token

 Constants

 

Default connection time out in seconds, adjust if you are connecting to a local network or have a slow up-link

TIMEOUT : int
Inherited
inherited_from \Twilio\Client\Client::TIMEOUT