Google_Http_REST
class Google_Http_REST (View source)
This class implements the RESTful transport of apiServiceRequest()'s
Methods
static array
execute(ClientInterface $client, RequestInterface $request, $expectedClass = null, $config = array(), $retryMap = null)
Executes a Psr\Http\Message\RequestInterface and (if applicable) automatically retries when errors occur.
static array
doExecute(ClientInterface $client, RequestInterface $request, $expectedClass = null)
Executes a Psr\Http\Message\RequestInterface
static mixed|null
decodeHttpResponse(ResponseInterface $response, RequestInterface $request = null, $expectedClass = null)
Decode an HTTP Response.
Details
static array
execute(ClientInterface $client, RequestInterface $request, $expectedClass = null, $config = array(), $retryMap = null)
Executes a Psr\Http\Message\RequestInterface and (if applicable) automatically retries when errors occur.
static array
doExecute(ClientInterface $client, RequestInterface $request, $expectedClass = null)
Executes a Psr\Http\Message\RequestInterface
static mixed|null
decodeHttpResponse(ResponseInterface $response, RequestInterface $request = null, $expectedClass = null)
Decode an HTTP Response.