struct MySql::Connection::SSLOptions

Defined in:

mysql/connection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(mode : SSLMode, key : Path | Nil = nil, cert : Path | Nil = nil, ca : Path | Nil = nil) #

[View source]

Class Method Detail

def self.from_params(params : URI::Params) #

[View source]

Instance Method Detail

def build_context : OpenSSL::SSL::Context::Client #

[View source]
def ca : Path | Nil #

def cert : Path | Nil #

def clone #

[View source]
def copy_with(mode _mode = @mode, key _key = @key, cert _cert = @cert, ca _ca = @ca) #

[View source]
def key : Path | Nil #

def mode : SSLMode #