Currently kweb can persist websocket connections even if they disconnect and must reconnect - each client has an id which can outlive any one websocket connection. However the architecture could easily fall-back to a polling based approach (in fact this is what it did before I switched over to websockets).