class Falcon::Adapters::Output
def initialize(headers, body, length)
def initialize(headers, body, length) # We don't trust the user to provide the right length to the transport. @length = length @body = body @chunks = body.to_enum(:each) end
def initialize(headers, body, length) # We don't trust the user to provide the right length to the transport. @length = length @body = body @chunks = body.to_enum(:each) end