class Protocol::HTTP::Body::Digestable
def self.wrap(message, digest = Digest::SHA256.new, &block)
def self.wrap(message, digest = Digest::SHA256.new, &block) if body = message&.body and !body.empty? message.body = self.new(message.body, digest, block) end end