Class: LightIO::Library::OpenSSL::SSL::SSLSocket
- Inherits:
-
Object
- Object
- LightIO::Library::OpenSSL::SSL::SSLSocket
- Includes:
- Base, IO::IOMethods, Wrap::IOWrapper
- Defined in:
- lib/lightio/library/openssl.rb
Instance Method Summary collapse
- #accept_nonblock ⇒ Object
-
#initialize(io, *args) ⇒ SSLSocket
constructor
A new instance of SSLSocket.
Methods included from Wrap::IOWrapper
Methods included from Base
Methods included from IO::IOMethods
#close, #eof, #getbyte, #getc, #gets, included, #print, #printf, #puts, #read, #readbyte, #readchar, #readline, #readlines, #readpartial, #wait, #wait_readable, #wait_writable
Constructor Details
Instance Method Details
#accept_nonblock ⇒ Object
19 20 21 22 |
# File 'lib/lightio/library/openssl.rb', line 19 def accept_nonblock socket = @obj.accept_nonblock(*args) socket.is_a?(Symbol) ? socket : self.class._wrap(socket) end |