Sha256: 40c8aefbe3233ee46d5b032c7922189cc2981bfccd26d1f2ab029011158e34e8

Contents?: true

Size: 260 Bytes

Versions: 5

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  module Realtime
    module Helpers
      module Broadcasting
        def broadcast(message)
          app.websocket_server.subscription_broadcast(socket_client_id, message)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pakyow-realtime-1.0.0.rc5 lib/pakyow/realtime/helpers/broadcasting.rb
pakyow-realtime-1.0.0.rc4 lib/pakyow/realtime/helpers/broadcasting.rb
pakyow-realtime-1.0.0.rc3 lib/pakyow/realtime/helpers/broadcasting.rb
pakyow-realtime-1.0.0.rc2 lib/pakyow/realtime/helpers/broadcasting.rb
pakyow-realtime-1.0.0.rc1 lib/pakyow/realtime/helpers/broadcasting.rb