PHP Class Visithor\Client\GuzzleClient

Inheritance: implements Visithor\Client\Interfaces\ClientInterface
Show file Open project: visithor/visithor Class Usage Examples

Protected Properties

Property Type Description
$client GuzzleHttp\Client Guzzle Client

Public Methods

Method Description
buildClient ( ) Build client
destroyClient ( ) Destroy client
getResponseHTTPCode ( Url $url ) : integer Get the HTTP Code Response given an URL instance

Method Details

buildClient() public method

Build client
public buildClient ( )

destroyClient() public method

Destroy client
public destroyClient ( )

getResponseHTTPCode() public method

Get the HTTP Code Response given an URL instance
public getResponseHTTPCode ( Url $url ) : integer
$url Visithor\Model\Url Url
return integer Response HTTP Code

Property Details

$client protected property

Guzzle Client
protected Client,GuzzleHttp $client
return GuzzleHttp\Client