aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/action_cable/connection/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb
index 252b71e847..fe5f058824 100644
--- a/lib/action_cable/connection/base.rb
+++ b/lib/action_cable/connection/base.rb
@@ -120,7 +120,7 @@ module ActionCable
end
def websocket_request?
- @is_websocket ||= Faye::WebSocket.websocket_request?(@env)
+ @is_websocket ||= Faye::WebSocket.websocket?(@env)
end