Open Journal Systems
3.3.0
|
Public Member Functions | |
fromRequest (RequestInterface $request, $context=array(), array $params=array()) | |
Interface used for creating streams from requests
Definition at line 10 of file StreamRequestFactoryInterface.php.
Guzzle\Stream\StreamRequestFactoryInterface::fromRequest | ( | RequestInterface | $request, |
$context = array() , |
|||
array | $params = array() |
||
) |
Create a stream based on a request object
RequestInterface | $request | Base the stream on a request |
array | resource | $context | A stream_context_options resource or array of parameters used to create a stream context. |
array | $params | Optional array of parameters specific to the factory |
Implemented in Guzzle\Stream\PhpStreamRequestFactory.