ssl.connect_nonblock => self
Instance Public methods
Initiates the SSL/TLS handshake as a client in non-blocking manner.
1 2 3 4 5 6 7 8 9 10 | # emulates blocking connect begin ssl.connect_nonblock rescue IO ::WaitReadable IO .select([s2]) retry rescue IO ::WaitWritable IO .select( nil , [s2]) retry end |
Please login to continue.