$this->offset = 0;
} elseif ($this->body instanceof ResourceInputStream
) { fseek($this->body->
getResource(),
$this->offset
);
} } return $this;
} public function getHeaders(): Promise
{ return new Success([]);
} public function getBodyLength(): Promise
{ return new Success($this->length -
$this->offset
);
} public function read(): Promise
{ $this->info
['size_upload'
] +=
$this->uploaded;
$this->uploaded = 0;
(