module Protocol::HTTP::Body::Streamable
def self.response(request, &block)
@parameter block [Proc] The block that generates the body.
@parameter request [Request] The request.
Generate a new streaming response body using the given block to generate the body.
def self.response(request, &block) ResponseBody.new(block, request.body) end