27 lines
763 B
PHP
27 lines
763 B
PHP
<?php
|
|
/**
|
|
* @see https://github.com/zendframework/zend-http for the canonical source repository
|
|
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
|
|
*/
|
|
|
|
namespace Zend\Http\Client\Adapter;
|
|
|
|
/**
|
|
* An interface description for Zend\Http\Client\Adapter\Stream classes.
|
|
*
|
|
* This interface describes Zend\Http\Client\Adapter which supports streaming.
|
|
*/
|
|
interface StreamInterface
|
|
{
|
|
/**
|
|
* Set output stream
|
|
*
|
|
* This function sets output stream where the result will be stored.
|
|
*
|
|
* @param resource $stream Stream to write the output to
|
|
*
|
|
*/
|
|
public function setOutputStream($stream);
|
|
}
|