Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
OpenSSL
/
SSL
/
SSLContext
/
//opt/alt/ruby27/share/ri/system/OpenSSL/SSL/SSLContext/npn_select_cb-i.ri
U:RDoc::Attr[iI"npn_select_cb:ETI"+OpenSSL::SSL::SSLContext#npn_select_cb;TI"RW;T:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"KA callback invoked on the client side when the client needs to select ;TI"Ma protocol from the list sent by the server. Supported in OpenSSL 1.0.1 ;TI"Jand higher. The client MUST select a protocol of those advertised by ;TI"Ithe server. If none is acceptable, raising an error in the callback ;TI"Lwill cause the handshake to fail. Not setting this callback explicitly ;TI"Jmeans not supporting the NPN extension on the client - any protocols ;TI".advertised by the server will be ignored.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;T@o:RDoc::Markup::Verbatim; [ I"/ctx.npn_select_cb = lambda do |protocols| ;TI". # inspect the protocols and select one ;TI" protocols.first ;TI"end;T:@format0: @fileI"ext/openssl/ossl_ssl.c;T:0@omit_headings_from_table_of_contents_below0F@I"OpenSSL::SSL::SSLContext;TcRDoc::NormalClass0