aiowamp.join_realm

aiowamp.join_realm(transport, realm, *, keyring=None, roles=None, details=None)[source]

Join a realm on a router.

Parameters:
  • transport (TransportABC) – Transport to run the session over.
  • realm (str) – Realm to join.
  • keyring (Optional[AuthKeyringABC]) – Authentication keyring to use for authentication.
  • roles (Optional[Dict[str, ForwardRef]]) – Roles to announce with.
  • details (Optional[Dict[str, ForwardRef]]) – Additional details to send with the hello message.
Return type:

Session

Returns:

Session running over the transport connected to the realm.

Raises: