class Rack::Chunked::TrailerBody

A body wrapper that emits chunked responses and also supports sending Trailer headers. Note that the response body provided to initialize must have a trailers method that returns a hash of trailer headers, and the rack response itself should have a Trailer header listing the headers that the trailers method will return.