lib/ury_rapid/server/helpers/streaming.rb
def websocket_update
          privs = privilege_set(true)
          request.websocket do |websocket|
            WebSocketUpdater.launch(
              @model, websocket, @authenticator.method(:authenticate), privs
            )
          end
        end
# Sets up a connection to the model updates stream.
Sets up a connection to the model updates stream.
Sets up a connection to the model updates stream .
def websocket_update
          privs = privilege_set(true)
          request.websocket do |websocket|
            WebSocketUpdater.launch(
              @model, websocket, @authenticator.method(:authenticate), privs
            )
          end
        end
def websocket_update privs = privilege_set ( true ) request . websocket do | websocket | WebSocketUpdater . launch ( @model , websocket , @authenticator . method ( :authenticate ) , privs ) end end
Sets up a connection to the model updates stream.
Sets up a connection to the model updates stream .