# File lib/faye/websocket/adapter.rb, line 5 def websocket? e = defined?(@env) ? @env : env WebSocket.websocket?(e) end