MuseClientOptions
Options for building a MuseClient around a connection you own.
Class in muse_code
spawn fills these in for you; supply them yourself only
when you compose the client with your own transport and handshake.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
durability |
SessionDurabilityProfile |
The handshake’s sessionDurability, read through read_session_durability. REQUIRED for the same reason Session’s is. |
host |
SpawnedMspConnection | None |
The owned host, set by spawn. A client built around a connection somebody else owns has none, and says so by omitting it — which is why close() falls back to closing just the connection. |
Source
clients/sdk-py/src/muse_code/facade/client.py:132