Class | Rainbows::DevFdResponse |
In: |
lib/rainbows/dev_fd_response.rb
lib/rainbows/dev_fd_response.rb |
Parent: | Struct.new(:app) |
Rack response middleware wrapping any IO-like object with an OS-level file descriptor associated with it. May also be used to create responses from integer file descriptors or existing IO objects. This may be used in conjunction with the to_path method on servers that support it to pass arbitrary file descriptors into the HTTP response without additional open(2) syscalls