method

determine_url

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ClientSocket
determine_url(env) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/connection/client_socket.rb, line 12
      def self.determine_url(env)
        scheme = secure_request?(env) ? "wss:" : "ws:"
        "#{ scheme }//#{ env['HTTP_HOST'] }#{ env['REQUEST_URI'] }"
      end
Register or log in to add new notes.