Skip to content

Federation

There isn't a lot here aside from a homeserver resolver. A lot of the federation is already handled by matrix-nio itself, so there isn't a lot of need for federation-specific utilities.

resolve_homeserver async

resolve_homeserver(domain: str) -> str

Resolves a given homeserver part to the actual homeserver

Parameters:

Name Type Description Default
domain str

The domain to crawl

required

Returns:

Type Description
str

The resolved homeserver