class Protocol::HTTP::Body::Writable::Output
def close(error = nil)
If an error is given, the error will be used to close the body by invoking {close} with the error. Otherwise, only the write side of the body will be closed.
Close the output stream.
def close(error = nil) @closed = true if error @writable.close(error) else @writable.close_write end end