Skip to main content

Module connection

Module connection 

Source
Expand description

Cable connection identity + authorization (Rails identified_by / reject_unauthorized_connection).

A connection carries named identifiers (e.g. current_user) and is rejected until it is authorized (e.g. after verifying a token in connect).

Structsยง

CableConnection
The identity of one WebSocket connection.