NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# 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`

Namespace: Guzzle\Service\Command\LocationVisitor\Request
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

### Magic methods summary