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