You are here

protected function S3fsStream::_get_signed_request in S3 File System 8.2

Serialize and sign a command, returning a request object.

Parameters

CommandInterface $command: The Command to sign.

Return value

RequestInterface

File

src/StreamWrapper/S3fsStream.php, line 1484

Class

S3fsStream
Defines a Drupal s3fs (s3fs://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

protected function _get_signed_request($command) {
  $this
    ->_debug("_get_signed_request() called.", TRUE);
  $request = $command
    ->prepare();
  $request
    ->dispatch('request.before_send', [
    'request' => $request,
  ]);
  return $request;
}