Add AsyncServerConnector to AsyncClient to be able to support any stream

Unfortunately API breaking unless we do some export mangling
This commit is contained in:
moparisthebest 2023-12-29 01:09:33 -05:00
commit 3cab603a4c
No known key found for this signature in database
GPG key ID: 88C93BFE27BC8229
6 changed files with 86 additions and 57 deletions

View file

@ -19,8 +19,11 @@ mod happy_eyeballs;
pub mod stream_features;
pub mod xmpp_stream;
pub use client::{
async_client::Client as AsyncClient, async_client::Config as AsyncConfig,
async_client::ServerConfig as AsyncServerConfig, simple_client::Client as SimpleClient,
async_client::{
AsyncReadAndWrite, Client as AsyncClient, Config as AsyncConfig,
ServerConfig as AsyncServerConfig, ServerConnector as AsyncServerConnector,
},
simple_client::Client as SimpleClient,
};
mod component;
pub use crate::component::Component;