Class: FCGI::Stream
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/fastcgi.rb
Instance Method Summary collapse
Instance Method Details
#_rack_read_without_buffer ⇒ Object
8 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/handler/fastcgi.rb', line 8 alias _rack_read_without_buffer read |
#read(n, buffer = nil) ⇒ Object
10 11 12 13 14 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/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 |