okhttp / okhttp3 / Handshake / tlsVersion

tlsVersion

fun tlsVersion(): TlsVersion

Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp 3.0. For responses cached by preceding versions this returns TlsVersion.SSL_3_0.