Class: FCGI::Stream
- Inherits:
-
Object
- Object
- FCGI::Stream
- Defined in:
- lib/rack/handler/fastcgi.rb
Instance Method Summary collapse
Instance Method Details
#_rack_read_without_buffer ⇒ Object
10 |
# File 'lib/rack/handler/fastcgi.rb', line 10 alias _rack_read_without_buffer read |
#read(n, buffer = nil) ⇒ Object
12 13 14 15 16 |
# File 'lib/rack/handler/fastcgi.rb', line 12 def read(n, buffer = nil) buf = _rack_read_without_buffer n buffer.replace(buf.to_s) if buffer buf end |