RemoteStreamWrapperInterface.php in Remote Stream Wrapper 8
File
src/StreamWrapper/RemoteStreamWrapperInterface.phpView source
<?php
namespace Drupal\remote_stream_wrapper\StreamWrapper;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
interface RemoteStreamWrapperInterface extends StreamWrapperInterface {
/**
* Refers to a remote file system location.
*
* @todo Investigate if we can rely on using this bit.
*/
const REMOTE = 0x2;
/**
* Visible and readable using remote files.
*/
const REMOTE_NORMAL = 0x16;
/**
* Perform an HTTP request for the current URI.
*
* @param string $method
* The HTTP method.
*
* @return \Psr\Http\Message\ResponseInterface
* The HTTP response object.
*
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function request($method = 'GET');
}
Interfaces
Name | Description |
---|---|
RemoteStreamWrapperInterface |