1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add a note about non-buffering servers for AC::Live

[ci skip]
This commit is contained in:
Aditya Kapoor 2014-10-30 15:36:31 +05:30 committed by Robin Dupret
parent fc8d638549
commit b2ab4512fb

View file

@ -994,6 +994,11 @@ you would like in a response object. The `ActionController::Live` module allows
you to create a persistent connection with a browser. Using this module, you will
be able to send arbitrary data to the browser at specific points in time.
NOTE: The default Rails server (WEBrick) is a buffering web server and does not
support streaming. In order to use this feature, you'll need to use a non buffering
server like [Puma](http://puma.io), [Rainbows](http://rainbows.bogomips.org)
or [Passenger](https://www.phusionpassenger.com).
#### Incorporating Live Streaming
Including `ActionController::Live` inside of your controller class will provide