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