public function AbstractEntityBodyDecorator::compress

@codeCoverageIgnore

Overrides EntityBodyInterface::compress

File

drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php, line 71

Class

AbstractEntityBodyDecorator
Abstract decorator used to wrap entity bodies

Namespace

Guzzle\Http

Code

public function compress($filter = 'zlib.deflate') {
  return $this->body
    ->compress($filter);
}