PHP Class UserAgentParser\Provider\Http\AbstractHttpProvider

Author: Martin Keckeis ([email protected])
Inheritance: extends UserAgentParser\Provider\AbstractProvider
Show file Open project: ThaDafinser/UserAgentParser Class Usage Examples

Public Methods

Method Description
__construct ( Client $client )
getClient ( ) : Client

Protected Methods

Method Description
getResponse ( Psr\Http\Message\RequestInterface $request ) : Response

Method Details

__construct() public method

public __construct ( Client $client )
$client GuzzleHttp\Client

getClient() public method

public getClient ( ) : Client
return GuzzleHttp\Client

getResponse() protected method

protected getResponse ( Psr\Http\Message\RequestInterface $request ) : Response
$request Psr\Http\Message\RequestInterface
return GuzzleHttp\Psr7\Response