Class: WEBrickNIO::HTTPServer::WebsocketHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/webricknio/httpserver.rb

Overview

TBD

Instance Method Summary collapse

Constructor Details

#initialize(key, server, config, attachment) ⇒ WebsocketHandler

Returns a new instance of WebsocketHandler.



361
362
363
364
365
366
367
368
369
# File 'lib/webricknio/httpserver.rb', line 361

def initialize(key, server, config, attachment)
  @key = key
  @sock_channel = @key.channel
  @config = config
  @server = server
  @send_response = true
  @socket_id = -1
  @attachment = attachment
end

Instance Method Details

#callObject



371
372
# File 'lib/webricknio/httpserver.rb', line 371

def call
end