class Roda::RodaPlugins::Chunked::StreamBody
using Transfer-Encoding: chunked.
Rack response body instance for chunked responses not
def each(&block)
def each(&block) @scope.each_chunk do |chunk| yield chunk if chunk && !chunk.empty? end end
def initialize(scope)
def initialize(scope) @scope = scope end