instance method verified_stream_name_from_params

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

Signature

verified_stream_name_from_params()

Can be used by custom turbo stream channels to obtain signed stream name from params

Source
# File app/channels/turbo/streams/stream_name.rb, line 18
    def verified_stream_name_from_params
      self.class.verified_stream_name(params[:signed_stream_name])
    end

Defined in app/channels/turbo/streams/stream_name.rb line 18 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Turbo::Streams::StreamName::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close