Skip to content

HelloFrame

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

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

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).

since_envelope_id is the client's high-water mark — the last envelope_id it remembers acknowledging. When set, the hub replays every envelope addressed to this name with envelope_id greater than since_envelope_id as fresh NotifyFrame deliveries before the connection sees any new traffic. None (the default) skips replay.

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)

since_envelope_id class-attribute instance-attribute #

since_envelope_id = None