method

broadcast

broadcast(broadcasting, message, coder: ActiveSupport::JSON)
public

Broadcast a hash directly to a named `broadcasting`. This will later be JSON encoded.