protected function send(string $data, float $timeout = 0, bool $end = false) : \Generator
{
if (false === ($data = inflate_add($this->resource, $data, $end ? \ZLIB_FINISH : \ZLIB_SYNC_FLUSH))) {
throw new FailureException('Failed adding date to inflate stream.');
}
return yield from parent::send($data, $timeout, $end);
}