Structs§
- Client
Session πThe data needed to re-build a client. - Full
Session πThe full session to persist.
Functions§
- build_
client πBuild a new client. - login πLogin with a new device.
- main πA simple example to show how to persist a clientβs data to be able to restore it.
- on_
room_ πmessage Handle room messages. - persist_
sync_ πtoken Persist the sync token for a future session. Note that this is needed only when usingsync_once
. Other sync methods get the sync token from the store. - restore_
session πRestore a previous session. - sync πSetup the client to listen to new messages.