Function logged_in_client

Source
pub async fn logged_in_client(homeserver_url: Option<String>) -> Client
Available on crate feature testing only.
Expand description

A Client using the given homeserver_url (or localhost:1234), that will never retry any failed requests, and already logged in with an hardcoded Matrix authentication session (the user id and device id are hardcoded too).