Skip to content

HelloFrame

autogen.beta.network.transport.frames.HelloFrame dataclass #

HelloFrame(name, auth_scheme='none', auth_claim=dict())

client → hub: open the connection and authenticate.

name lets the hub bind the connection to an existing identity (re-connect) or onboard a new one. auth_scheme + auth_claim feed the registered AuthAdapter (defaults to NoAuth).

kind class-attribute #

kind = 'hello'

name instance-attribute #

name

auth_scheme class-attribute instance-attribute #

auth_scheme = 'none'

auth_claim class-attribute instance-attribute #

auth_claim = field(default_factory=dict)