Namespace
Methods
Instance Protected methods
close_connection()
Link
open_connection(server:)
Link
# File actioncable/test/connection/identifier_test.rb, line 64 def open_connection(server)) env = Rack::MockRequest.env_for "/test", 'HTTP_HOST' => 'localhost', 'HTTP_CONNECTION' => 'upgrade', 'HTTP_UPGRADE' => 'websocket' @connection = Connection.new(server, env) @connection.process @connection.send :handle_open end