class Protocol::HTTP::Body::Digestable
def read
Read the body and update the digest. When the body is fully read, the callback is invoked with `self` as the argument.
def read if chunk = super @digest.update(chunk) return chunk else @callback&.call(self) return nil end end