Class: RedisClient::HiredisConnection::SSLContext
- Inherits:
-
Object
- Object
- RedisClient::HiredisConnection::SSLContext
- Defined in:
- lib/redis_client/hiredis_connection.rb,
ext/redis_client/hiredis/hiredis_connection.c
Instance Method Summary collapse
-
#initialize(ca_file: nil, ca_path: nil, cert: nil, key: nil, hostname: nil) ⇒ SSLContext
constructor
A new instance of SSLContext.
Constructor Details
#initialize(ca_file: nil, ca_path: nil, cert: nil, key: nil, hostname: nil) ⇒ SSLContext
Returns a new instance of SSLContext.
35 36 37 38 39 |
# File 'lib/redis_client/hiredis_connection.rb', line 35 def initialize(ca_file: nil, ca_path: nil, cert: nil, key: nil, hostname: nil) if (error = init(ca_file, ca_path, cert, key, hostname)) raise error end end |