ReloadEndpoint
class ReloadEndpoint
Handler of the reload endpoint (/reload
) which manages WebSocket connections for live reloading.
Whenever a client sends a message, it is broadcast to all connected clients.
A distinction between sender and receiver is not made. In practice, the sender is Quarkdown CLI and the receivers are the browser clients that were served by the live preview endpoint (/live/<file>
).