Struct openssl::ssl::Ssl
[−]
[src]
pub struct Ssl { // some fields omitted }
Methods
impl Ssl
fn new(ctx: &SslContext) -> Result<Ssl, SslError>
fn set_hostname(&self, hostname: &str) -> Result<(), SslError>
Set the host name to be used with SNI (Server Name Indication).