class

StreamingController

Inherits Ktistec::ViewHelper < Utils::Paths < Ktistec::Controller < Reference < Object

Constants

Log = ::Log.for("streaming")

Class methods

decode_baselines(value : String) : Hash(Int64, Int64)
Source
encode_baselines(baselines : Hash(Int64, Int64)) : String
Source
open_deck(io, actor, feeds : Array(Feed), resume : String | Nil) : Hash(Int64, Int64)
Source
pane_advanced?(feed : Feed, baseline : Int64 | Nil) : Int64 | Nil
Source
replace_actor_icon(io, id)

Renders action to replace the actor icon.

Source
replace_notifications_label(io, account)

Renders action to replace the notifications count.

Source
replace_pane_refresh(io, actor, feed, id = false)

Renders action to replace a deck pane's refresh slot.

Source
replace_refresh_posts_message(io, id = false, path = Utils::Paths.current_page_path)

Renders action to replace the refresh posts message.

Source
setup_response(response : HTTP::Server::Response)
Source
stream_action(io : IO, body : String | Nil, action : String, target : String | Nil, selector : String | Nil, id : String | Bool | Nil = false)
Source
stream_after(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_append(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_before(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_morph(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_no_op(io, id = false)

Sends a no-op action.

Source
stream_prepend(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_refresh(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_remove(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_replace(io, body = nil, target = nil, selector = nil, id = false)
Source
stream_update(io, body = nil, target = nil, selector = nil, id = false)
Source

Macros

stop
Source

Nested types