class

LiveView::Session

Inherits Reference < Object

Constructors

Instance methods

handle_event(topic : String, join_ref : String, ref : String, payload : JSON::Any) : Nil
Source
handle_join(topic : String, join_ref : String, ref : String, payload : JSON::Any) : Nil
Source
handle_leave(topic : String, join_ref : String | Nil, ref : String | Nil) : Nil
Source
on_close
Source
on_message(raw : String) : Nil
Source
run_handle_info(view : Base, message : Info) : Nil

handle_info runs on the inbox fiber; renders and pushes a diff.

Source
token
Source