Enum electrum_client::client::ClientType
source · pub enum ClientType {
TCP(RawClient<ElectrumPlaintextStream>),
SSL(RawClient<ElectrumSslStream>),
Socks5(RawClient<ElectrumProxyStream>),
}Expand description
Generalized Electrum client that supports multiple backends. This wraps
RawClient and provides a more user-friendly
constructor that can choose the right backend based on the url prefix.
This is available only with the default features, or if proxy and one ssl implementation are enabled