You are here

protected function S3fsStreamWrapper::_get_signed_request in S3 File System 7.2

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

Serialize and sign a command, returning a request object.

Parameters

CommandInterface $command: The 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 1483
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;
}