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