Method: DatawireQuarkCore::WSAdapter#process_request
- Defined in:
- lib/datawire-quark-core.rb
#process_request(rq) ⇒ Object
866 867 868 869 870 871 872 |
# File 'lib/datawire-quark-core.rb', line 866 def process_request(rq) if rq.request.websocket? @events.event { rq.ws_handler = servlet.onWSConnect(rq); rq.respond :detach } else rq.fail! 400, "websockets here, move along\r\n" end end |