This class is used by Raindrops::Middleware to proxy application response bodies. There should be no need to use it directly.
new (body, stats) source
close () source
the Rack server should call this after each (usually ensure-d)
each () { |x| ... } sourceyield to the Rack server here for writing
method_missing (*args, &block) source
Avoid breaking users of non-standard extensions (e.g. body) Rack::BodyProxy does the same.
respond_to? (m, include_all = false) source
Rack servers use respond_to? to check for the presence of close and to_path methods.
to_path () source
Some Rack servers can optimize response processing if it responds to to_path via the sendfile(2) system call, we proxy to_path to the underlying body if possible.
mail archives: https://yhbt.net/raindrops-public/ http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/raindrops-public nntps://news.public-inbox.org/inbox.comp.lang.ruby.raindrops nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.raindrops imaps://yhbt.net/inbox.comp.lang.ruby.raindrops.0 imap://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.raindrops.0 public: raindrops-public@yhbt.net source code: git clone https://yhbt.net/raindrops.git torsocks git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/raindrops.git