aiowamp.connect

aiowamp.connect(url, *, realm, serializer=None, keyring=None)[source]

Connect to a router, join a realm, and create a client.

Parameters:
  • url (Union[str, ParseResult]) – URL of the router to connect to.
  • realm (str) – Realm to join.
  • serializer (Optional[SerializerABC]) – Serializer to use for the transport.
  • keyring (Optional[AuthKeyringABC]) – Authentication keyring.
Return type:

Client

Returns:

Client wrapping the established session.

Raises: