Class BodyVisitor
Visitor used to apply a body to a request
This visitor can use a data parameter of 'expect' to control the Expect header. Set the expect data parameter to false to disable the expect header, or set the value to an integer so that the expect 100-continue header is only added if the Content-Length of the entity body is greater than the value.
- Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor implements Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface
- Guzzle\Service\Command\LocationVisitor\Request\BodyVisitor
Namespace: Guzzle\Service\Command\LocationVisitor\Request
Located at src/Guzzle/Service/Command/LocationVisitor/Request/BodyVisitor.php
Located at src/Guzzle/Service/Command/LocationVisitor/Request/BodyVisitor.php
public
|
#
visit(
|
protected
|
#
addExpectHeader(
Add the appropriate expect header to a request |
after(),
prepareValue(),
resolveRecursively()
|