Component is now behind insecure-tcp feature flag

This commit is contained in:
xmppftw xmppftw 2024-08-10 17:39:55 +02:00
commit 9f4af1625d
4 changed files with 11 additions and 19 deletions

View file

@ -40,13 +40,11 @@ use crate::{
connect::{DnsConfig, ServerConnector, ServerConnectorError},
error::{Error, ProtocolError},
proto::{Packet, XmppStream},
Client, Component,
Client,
};
/// Client that connects over StartTls
pub type StartTlsClient = Client<StartTlsServerConnector>;
/// Component that connects over StartTls
pub type StartTlsComponent = Component<StartTlsServerConnector>;
/// Connect via TCP+StartTLS to an XMPP server
#[derive(Debug, Clone)]