Class: SseCable::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/sse_cable/server.rb

Instance Method Summary collapse

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, options = {})
  # 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