method

connect

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Behavior
connect(path = ActionCable.server.config.mount_path, **request_params) public

Performs connection attempt to exert #connect on the connection under test.

Accepts request path as the first argument and the following request options:

  • params – URL parameters (Hash)

  • headers – request headers (Hash)

  • session – session data (Hash)

  • env – additional Rack env configuration (Hash)

Show source
Register or log in to add new notes.