Class: OpenSSL::SSL::SSLSocket
- Inherits:
-
Object
- Object
- OpenSSL::SSL::SSLSocket
- Defined in:
- lib/io/stream/openssl.rb,
lib/io/stream/shim/readable.rb
Overview
SSL socket extensions for stream compatibility.
Instance Method Summary collapse
-
#buffered=(value) ⇒ Object
Set the buffered state of the SSL socket.
-
#buffered? ⇒ Boolean
Check if the SSL socket is buffered.
-
#readable? ⇒ Boolean
Check if the SSL socket is readable.
Instance Method Details
#buffered=(value) ⇒ Object
Set the buffered state of the SSL socket.
25 26 27 |
# File 'lib/io/stream/openssl.rb', line 25 def buffered=(value) to_io.buffered = value end |
#buffered? ⇒ Boolean
Check if the SSL socket is buffered.
17 18 19 |
# File 'lib/io/stream/openssl.rb', line 17 def buffered? return to_io.buffered? end |
#readable? ⇒ Boolean
Check if the SSL socket is readable.
57 58 59 |
# File 'lib/io/stream/shim/readable.rb', line 57 def readable? to_io.readable? end |