Kamil::Engine::LiveReloadHub
[FUNC-005] [TECH-005] Browser Live-Reload Adapter
Manages persistent Server-Sent Events (SSE) connections for browser live-reloading
by delegating to the standalone Freshen::Hub shard.
Constructors
Class methods
Instance methods
broadcast_reload(*args, **options)
Sourcebroadcast_reload(*args, **options, &)
Sourceclose(*args, **options)
Sourceclose(*args, **options, &)
Sourcedebounce_ms(*args, **options)
Sourcedebounce_ms(*args, **options, &)
Sourceenqueue_change(*args, **options)
Sourceenqueue_change(*args, **options, &)
Sourcehub
Sourceinject_script(html : String, require_body_tag : Bool = false, endpoint : String = "/dev/reload", script_id : String = "kamil-live-reload") : String
Instance method delegating to class script injector.
Registers an active Kemal::EventStream SSE client stream.
Registers an IO object as an SSE client stream.
Subscribes an IO object as an SSE client with an auto-generated identifier.
trigger_reload(*args, **options)
Sourcetrigger_reload(*args, **options, &)
Sourceunregister_client(*args, **options)
Sourceunregister_client(*args, **options, &)
Source