Method: FCGI::Stream#read
- Defined in:
- lib/rack/handler/fastcgi.rb
#read(n, buffer = nil) ⇒ Object
10 11 12 13 14 |
# 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 |