Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
OpenSSL
/
SSL
/
SSLContext
/
//proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/OpenSSL/SSL/SSLContext/alpn_select_cb-i.ri
U:RDoc::Attr[iI"alpn_select_cb:ETI",OpenSSL::SSL::SSLContext#alpn_select_cb;TI"RW;T:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"KA callback invoked on the server side when the server needs to select ;TI"Ma protocol from the list sent by the client. Supported in OpenSSL 1.0.2 ;TI"Land higher. The callback must return a protocol of those advertised by ;TI"Ithe client. If none is acceptable, raising an error in the callback ;TI"Lwill cause the handshake to fail. Not setting this callback explicitly ;TI"Kmeans not supporting the ALPN extension on the server - any protocols ;TI".advertised by the client will be ignored.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;T@o:RDoc::Markup::Verbatim; [ I"0ctx.alpn_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