class method
self.new
Ruby on Rails 4.2.9
Since v4.1.16Signature
self.new(stream, options = {})
No documentation comment.
Parameters
-
streamreq -
optionsopt = {}
Source
# File actionpack/lib/action_controller/metal/live.rb, line 76
def initialize(stream, options = {})
@stream = stream
@options = options
end
Defined in actionpack/lib/action_controller/metal/live.rb line 76
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Live::SSE