class FCGI::Stream

Public Instance Methods

_rack_read_without_buffer(n, buffer = nil)
Alias for: read
read(n, buffer = nil) click to toggle source
# File lib/rack/handler/fastcgi.rb, line 10
def read(n, buffer = nil)
  buf = _rack_read_without_buffer n
  buffer.replace(buf.to_s)  if buffer
  buf
end
Also aliased as: _rack_read_without_buffer