File: C:/Ruby27-x64/share/ri/2.7.0/system/OpenSSL/SSL/SSLSocket/accept_nonblock-i.ri
U:RDoc::AnyMethod[iI"accept_nonblock:ETI",OpenSSL::SSL::SSLSocket#accept_nonblock;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"HInitiates the SSL/TLS handshake as a server in non-blocking manner.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I" # emulates blocking accept
;TI"begin
;TI" ssl.accept_nonblock
;TI"rescue IO::WaitReadable
;TI" IO.select([s2])
;TI"
retry
;TI"rescue IO::WaitWritable
;TI" IO.select(nil, [s2])
;TI"
retry
;TI" end
;T:@format0o;
; [ I"OBy specifying a keyword argument _exception_ to +false+, you can indicate ;TI"Bthat accept_nonblock should not raise an IO::WaitReadable or ;TI"KIO::WaitWritable exception, but return the symbol +:wait_readable+ or ;TI"+:wait_writable+ instead.;T:
@fileI"ext/openssl/ossl_ssl.c;T:0@omit_headings_from_table_of_contents_below0I",ssl.accept_nonblock([options]) => self
;T0[ I"(p1 = {});T@!FI"SSLSocket;TcRDoc::NormalClass00