/** * Returns the ALPN protocol agreed upon by client and server. * * @param engine the engine * @return the selected protocol or {@code null} if no protocol was agreed upon. */ public static String getApplicationProtocol(SSLEngine engine) { return toConscrypt(engine).getApplicationProtocol(); }
/** * Returns the ALPN protocol agreed upon by client and server. * * @param engine the engine * @return the selected protocol or {@code null} if no protocol was agreed upon. */ public static String getApplicationProtocol(SSLEngine engine) { return toConscrypt(engine).getApplicationProtocol(); }