You are here

public function RemoteStreamWrapperInterface::request in Remote Stream Wrapper 8

Perform an HTTP request for the current URI.

Parameters

string $method: The HTTP method.

Return value

\Psr\Http\Message\ResponseInterface The HTTP response object.

Throws

\GuzzleHttp\Exception\GuzzleException

1 method overrides RemoteStreamWrapperInterface::request()
HttpStreamWrapper::request in src/StreamWrapper/HttpStreamWrapper.php
Perform an HTTP request for the current URI.

File

src/StreamWrapper/RemoteStreamWrapperInterface.php, line 32

Class

RemoteStreamWrapperInterface

Namespace

Drupal\remote_stream_wrapper\StreamWrapper

Code

public function request($method = 'GET');