module StreamName

Ruby on Rails 2.0.23

Since v1.3.3 Last seen in v2.0.23

Available in: v1.3.3 v1.4.0 v1.5.0 v2.0.23

Stream names are how we identify which updates should go to which users. All streams run over the same Turbo::StreamsChannel, but each with their own subscription. Since stream names are exposed directly to the user via the HTML stream subscription tags, we need to ensure that the name isn’t tampered with, so the names are signed upon generation and verified upon receipt. All verification happens through the Turbo.signed_stream_verifier.

Namespace

Modules

Methods (defined here)

Private methods

(1) Implementation detail — not part of the public API.

Used by

Included by (1)

Type at least 2 characters to search.

↑↓ navigate · open · esc close