omni.kit.widget.connection_manager#
Classes Summary:
Manages server connections across Nucleus, storage discovery, and HTTP. Provides ensure_connection for unified connectivity, add-server dialogs, and always-on auth handling. |
|
Status of a server connection. |
|
State of a registered discovery server. |
|
State of a manually added server. |
Functions Summary:
Add a bookmark. No-op if the extension is not running. |
|
Disconnect from a server. No-op if the extension is not running. |
|
Ensure the server at *url* is reachable. Returns False if the extension is not running. |
|
Derive a display name from a URL when the user doesn’t provide one. |
|
Return all bookmarks as name -> url. Empty dict if the extension is not running. |
|
Return the singleton ConnectionManager instance, or None if the extension is not running. |
|
Reconnect to a Nucleus server asynchronously. No-op if the extension is not running. |
|
Remove a bookmark by name. No-op if the extension is not running. |
|
Rename a bookmark. No-op if the extension is not running. |
|
Show a dialog to add a storage discovery server. No-op if the extension is not running. |
|
Show a dialog to add an HTTP/HTTPS server. No-op if the extension is not running. |
|
Show a dialog to add a Nucleus server. No-op if the extension is not running. |