Class EntityEnclosingRequest
HTTP request that sends an entity-body in the request message (POST, PUT, PATCH, DELETE)
- Guzzle\Http\Message\AbstractMessage implements Guzzle\Http\Message\MessageInterface
- Guzzle\Http\Message\Request implements Guzzle\Http\Message\RequestInterface
- Guzzle\Http\Message\EntityEnclosingRequest implements Guzzle\Http\Message\EntityEnclosingRequestInterface
public
|
|
public
string
|
|
public
string
|
|
public
|
#
setBody( string|resource|
Set the body of the request |
public
|
|
public
|
#
setExpectHeaderCutoff( integer|boolean $size )
Set the size that the entity body of the request must exceed before adding the Expect: 100-Continue header. |
public
|
#
configureRedirects( boolean $strict = false, integer $maxRedirects = 5 )
Configure how redirects are handled for the request |
public
mixed|null
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
array|null
|
|
public
|
|
public
|
#
addPostFile( string $field, string $filename = null, string $contentType = null, string $postname = null )
Add a POST file to the upload |
public
|
|
protected
|
CONNECT,
DELETE,
GET,
HEAD,
OPTIONS,
PATCH,
POST,
PUT,
STATE_COMPLETE,
STATE_ERROR,
STATE_NEW,
STATE_TRANSFER,
TRACE
|
MULTIPART,
URL_ENCODED
|
protected
integer
|
$expectCutoff
When the size of the body is greater than 1MB, then send Expect: 100-Continue |
#
1048576
|
protected
|
$body
$body Body of the request |
|
protected
|
$postFields
POST fields to use in the EntityBody |
|
protected
array
|
$postFiles
POST files to send with the request |
#
array()
|
$client,
$curlOptions,
$eventDispatcher,
$isRedirect,
$method,
$password,
$response,
$responseBody,
$state,
$url,
$username
|
$headerFactory,
$headers,
$params,
$protocol,
$protocolVersion
|