Class PhpStreamRequestFactory
Factory used to create fopen streams using PHP's http and https stream wrappers
Note: PHP's http stream wrapper only supports streaming downloads. It does not support streaming uploads.
- Guzzle\Stream\PhpStreamRequestFactory implements Guzzle\Stream\StreamRequestFactoryInterface
public
|
#
fromRequest(
Create a stream based on a request object |
protected
|
#
setContextValue( string $wrapper, string $name, mixed $value, boolean $overwrite = false )
Set an option on the context and the internal options array |
protected
|
|
public
array
|
|
protected
|
#
addDefaultContextOptions(
Adds the default context options to the stream context options |
protected
|
|
protected
|
#
addSslOptions(
Add SSL options to the stream context |
protected
|
#
addBodyOptions(
Add body (content) specific options to the context options |
protected
|
#
addProxyOptions(
Add proxy parameters to the context if needed |
protected
|
|
protected
|
|
protected
resource
|
#
createResource( callable $callback )
Create a resource and check to ensure it was created successfully |
protected
resource
|
$context
Stream context options |
|
protected
array
|
$contextOptions
Stream context |
|
protected
|
$url
Stream URL |
|
protected
array
|
$lastResponseHeaders
Last response headers received by the HTTP request |