Class: Rack::Chunked::TrailerBody

  • Object
show all
Defined in:


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.

Constant Summary

Constants inherited from Body

Body::TAIL, Body::TERM

Method Summary

Methods inherited from Body

#close, #each, #initialize

Constructor Details

This class inherits a constructor from Rack::Chunked::Body