class Protocol::HTTP::Body::Completable
def close(error = nil)
Close the body and invoke the callback. If an error is given, it is passed to the callback.
def close(error = nil) if @callback @callback.call(error) @callback = nil end super end
def close(error = nil) if @callback @callback.call(error) @callback = nil end super end