Enum shout::ShoutTLS [] [src]

pub enum ShoutTLS {
    Disabled,
    Auto,
    AutoNoPlain,
    RFC2818,
    RFC2817,
}

Type representing a TLS mode to connect to a host with

Variants

Disabled

Do not use TLS at all

Auto

Autodetect which TLS mode to use if any

AutoNoPlain

Like Auto, but does not allow plain connections

RFC2818

USE TLS for transport layer like HTTPS(RFC2818) does

RFC2817

USE TLS via HTTP Upgrade:-header (RFC2817)