I'm using Retrofit2 (that uses OkHttpClient) to make REST requests to the server. I'm using TLSv1.3 protocol.
How can I enable and configure SNI (Server Name Indication) for my client?
I'm using Retrofit2 (that uses OkHttpClient) to make REST requests to the server. I'm using TLSv1.3 protocol.
How can I enable and configure SNI (Server Name Indication) for my client?
It's enabled automatically using the hostname in the URL.