$locations
$locations : \GuzzleHttp\Command\Guzzle\RequestLocation\RequestLocationInterface[]
Override Request serializer to modify authentication mechanism
$locations : \GuzzleHttp\Command\Guzzle\RequestLocation\RequestLocationInterface[]
$description : \GuzzleHttp\Command\Guzzle\DescriptionInterface
prepareRequest(\GuzzleHttp\Command\CommandInterface $command, \Psr\Http\Message\RequestInterface $request) : \Psr\Http\Message\RequestInterface
Authorization header is Loco's preferred authorization method.
Add Authorization header to request if API key is set, unless query is explicitly configured as auth method. Unset key from command to avoid sending it as a query param.
\GuzzleHttp\Command\CommandInterface | $command | |
\Psr\Http\Message\RequestInterface | $request |
createCommandWithUri(\GuzzleHttp\Command\Guzzle\Operation $operation, \GuzzleHttp\Command\CommandInterface $command) : \GuzzleHttp\Psr7\Request
Create a request for an operation with a uri merged onto a base URI
\GuzzleHttp\Command\Guzzle\Operation | $operation | |
\GuzzleHttp\Command\CommandInterface | $command |
Loading…