Interface RequestVisitorInterface
Location visitor used to add values to different locations in a request with different behaviors as needed
Direct known implementers
Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor
Indirect known implementers
Aws\Common\Command\AwsQueryVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\BodyVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\HeaderVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\JsonVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\PostFieldVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\PostFileVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\QueryVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\ResponseBodyVisitor
,
Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor
Located at Guzzle/Service/Command/LocationVisitor/Request/RequestVisitorInterface.php
Methods summary
-
public
after ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request )
Called after visiting all parameters
-
public
visit ( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request, Guzzle\Service\Description\Parameter $param, mixed $value )
Called once for each parameter being visited that matches the location type
Methods detail
public
after( Guzzle\Service\Command\CommandInterface
$command, Guzzle\Http\Message\RequestInterface
$request )
Called after visiting all parameters
Parameters
- $command
Guzzle\Service\Command\CommandInterface
$command Command being visited- $request
Guzzle\Http\Message\RequestInterface
$request Request being visited
public
visit( Guzzle\Service\Command\CommandInterface
$command, Guzzle\Http\Message\RequestInterface
$request, Guzzle\Service\Description\Parameter
$param, mixed $value )
Called once for each parameter being visited that matches the location type
Parameters
- $command
Guzzle\Service\Command\CommandInterface
$command Command being visited- $request
Guzzle\Http\Message\RequestInterface
$request Request being visited- $param
Guzzle\Service\Description\Parameter
$param Parameter being visited- $value
mixed
$value Value to set