class Async::HTTP::Body::Wrapper
Wrapping body instance. Typically you’d override ‘#read`.
def close
def close @body = @body.close return self end
def empty?
def empty? @body.empty? end
def initialize(body)
def initialize(body) @body = body end
def inspect
def inspect return @body.inspect end
def length
def length @body.length end
def read
def read @body.read end
def stop(error)
def stop(error) @body.stop(error) end