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. 
- #to_io ⇒ Object (also: #io)
Methods included from Wrap::IOWrapper
Methods included from Base
Methods included from IO::IOMethods
#close, #eof, #flush, #getbyte, #getc, #gets, included, #lightio_initialize, #print, #printf, #puts, #read, #readbyte, #readchar, #readline, #readlines, #readpartial, #wait, #wait_readable, #wait_writable
Constructor Details
Instance Method Details
#accept_nonblock ⇒ Object
| 22 23 24 25 | # File 'lib/lightio/library/openssl.rb', line 22 def accept_nonblock socket = @obj.accept_nonblock(*args) socket.is_a?(Symbol) ? socket : self.class._wrap(socket) end | 
#to_io ⇒ Object Also known as: io
| 27 28 29 | # File 'lib/lightio/library/openssl.rb', line 27 def to_io @_wrapped_socket || @obj.io end |