You are here

protected function S3fsStreamWrapper::_get_signed_request in S3 File System 7

Same name and namespace in other branches
  1. 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::_get_signed_request()

Serialize and sign a command, returning a request object

Parameters

CommandInterface $command Command to sign:

Return value

RequestInterface

1 call to S3fsStreamWrapper::_get_signed_request()
S3fsStreamWrapper::_open_read_stream in ./S3fsStreamWrapper.inc
Initialize the stream wrapper for a read only stream.

File

./S3fsStreamWrapper.inc, line 1387
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

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