Interface StreamRequestFactoryInterface
Interface used for creating streams from requests
Direct known implementers
Methods summary
-
public
fromRequest ( Guzzle\Http\Message\RequestInterface $request, array|resource $context = array(), array $params = array() )
Create a stream based on a request object
Methods detail
#
public
Guzzle\Stream\StreamInterface
fromRequest( Guzzle\Http\Message\RequestInterface
$request, array|resource $context = array(), array $params = array() )
Create a stream based on a request object
Parameters
- $request
Guzzle\Http\Message\RequestInterface
$request Base the stream on a request- $context
array|resource
$context A stream_context_options resource or array of parameters used to create a stream context.- $params
array
$params Optional array of parameters specific to the factory