Expand description
Federation requests for origin and notary signing-key documents.
Notary queries include the configured minimum validity horizon and can be split across bounded concurrent batches. Origin responses are checked to ensure the returned server name matches the requested target.
Re-exportsยง
use std::collections::BTreeMap;๐use std::convert::identity;๐use std::fmt::Debug;๐use std::fmt::Debug;๐use futures::StreamExt;๐use futures::TryFutureExt;๐use ruma::OwnedServerName;๐use ruma::OwnedServerSigningKeyId;๐use ruma::ServerName;๐use ruma::ServerSigningKeyId;๐use ruma::api::federation::discovery::ServerSigningKeys;๐use ruma::api::federation::discovery::get_remote_server_keys;๐use ruma::api::federation::discovery::get_remote_server_keys_batch;๐use ruma::api::federation::discovery::get_remote_server_keys_batch::v2::QueryCriteria;๐use ruma::api::federation::discovery::get_server_keys;๐use tuwunel_core::Err;๐use tuwunel_core::Result;๐use tuwunel_core::error;๐use tuwunel_core::error;๐use tuwunel_core::implement;๐use tuwunel_core::info;๐use tuwunel_core::info;๐use tuwunel_core::trace;๐use tuwunel_core::utils::stream::IterStream;๐use tuwunel_core::utils::stream::ReadyExt;๐use tuwunel_core::utils::stream::TryBroadbandExt;๐use tuwunel_core::utils::stream::TryReadyExt;๐