#NEWLINE# def selected_alpn_protocol( self ) : #NEWLINE# #INDENT# proto = self . _conn . get_alpn_proto_negotiated ( ) #NEWLINE# if isinstance ( proto , bytes ) : #NEWLINE# #INDENT# proto = proto . decode ( 'ascii' ) #NEWLINE# #UNINDENT# return ( proto if self else None )