public function ReadLimitEntityBody::setLimit

Set the limit of bytes that the decorator allows to be read from the stream

Parameters

int $limit Total number of bytes to allow to be read from the stream:

Return value

self

File

drupal/core/vendor/guzzle/http/Guzzle/Http/ReadLimitEntityBody.php, line 95

Class

ReadLimitEntityBody
EntityBody decorator used to return only a subset of an entity body

Namespace

Guzzle\Http

Code

public function setLimit($limit) {
  $this->limit = $limit;
  return $this;
}