Exception: WebsocketRails::InvalidConnectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/websocket-rails.rb

Overview

Exceptions

Instance Method Summary collapse

Instance Method Details

#rack_responseObject


54
55
56
# File 'lib/websocket-rails.rb', line 54

def rack_response
  [400,{'Content-Type' => 'text/plain'},['invalid connection']]
end