ICaller

Extends

Base methods for caller

author

klyde

package

Default

Methods

Add headers to the headers list

addHeaders(array $headers) 

Arguments

$headers

array

Launch a call and return the result if there is no error

call(String $url, array $params = array()) 
throw

Arguments

$url

String

$params

array

Returns headers

getHeaders() : array

Response

array

Return true if this caller method is available

isAvailable() 

Returns true is available

isTLSv12Available() 

Defines the headers for calls

setHeaders(array $headers) 

Arguments

$headers

array

Defines the timeout of the request

setTimeout( $second) 

Arguments

$second