method

broadcast

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: PostgreSQL
broadcast(channel, payload) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/subscription_adapter/postgresql.rb, line 13
      def broadcast(channel, payload)
        with_connection do |pg_conn|
          pg_conn.exec("NOTIFY #{pg_conn.escape_identifier(channel)}, '#{pg_conn.escape_string(payload)}'")
        end
      end
Register or log in to add new notes.