Class: Dalli::Socket::SSLSocket

Inherits:
OpenSSL::SSL::SSLSocket
  • Object
show all
Includes:
InstanceMethods
Defined in:
lib/dalli/socket.rb

Overview

Wraps the below TCP socket class in the case where the client has configured a TLS/SSL connection between Dalli and the Memcached server.

Constant Summary

Constants included from InstanceMethods

InstanceMethods::FILTERED_OUT_OPTIONS

Instance Method Summary collapse

Methods included from InstanceMethods

#logged_options, #read_available, #readfull

Instance Method Details

#optionsObject



82
83
84
# File 'lib/dalli/socket.rb', line 82

def options
  io.options
end

#wait_readable(timeout = nil) ⇒ Object



87
88
89
# File 'lib/dalli/socket.rb', line 87

def wait_readable(timeout = nil)
  to_io.wait_readable(timeout)
end

#wait_writable(timeout = nil) ⇒ Object



93
94
95
# File 'lib/dalli/socket.rb', line 93

def wait_writable(timeout = nil)
  to_io.wait_writable(timeout)
end