PHP Class Happyr\LinkedIn\Http\RequestManager

Author: Tobias Nyholm ([email protected])
Inheritance: implements Happyr\LinkedIn\Http\RequestManagerInterface
Mostra file Open project: happyr/linkedin-api-client

Public Methods

Method Description
sendRequest ( $method, $uri, array $headers = [], $body = null, $protocolVersion = '1.1' )
setHttpClient ( Http\Client\HttpClient $httpClient )
setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : RequestManager

Protected Methods

Method Description
getHttpClient ( ) : Http\Client\HttpClient

Private Methods

Method Description
getMessageFactory ( ) : Http\Message\MessageFactory

Method Details

getHttpClient() protected method

protected getHttpClient ( ) : Http\Client\HttpClient
return Http\Client\HttpClient

sendRequest() public method

public sendRequest ( $method, $uri, array $headers = [], $body = null, $protocolVersion = '1.1' )
$headers array

setHttpClient() public method

public setHttpClient ( Http\Client\HttpClient $httpClient )
$httpClient Http\Client\HttpClient

setMessageFactory() public method

public setMessageFactory ( Http\Message\MessageFactory $messageFactory ) : RequestManager
$messageFactory Http\Message\MessageFactory
return RequestManager