Class: SseCable::Server
- Inherits:
-
Object
- Object
- SseCable::Server
- Defined in:
- lib/sse_cable/server.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, options = {}) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(app, options = {}) ⇒ Server
Returns a new instance of Server.
5 6 7 |
# File 'lib/sse_cable/server.rb', line 5 def initialize(app, = {}) # Initialize server with app and options end |
Instance Method Details
#call(env) ⇒ Object
9 10 11 |
# File 'lib/sse_cable/server.rb', line 9 def call(env) # Handle incoming SSE requests end |