This method enables Server Name Indication (SNI) and overrides the {@link PeerInfoProvider} supplied during engine creation. If the hostname is not a valid SNI hostname, the SNI extension will be omitted from the handshake.
See Implementation
This method enables Server Name Indication (SNI) and overrides the {@link PeerInfoProvider} supplied during engine creation. If the hostname is not a valid SNI hostname, the SNI extension will be omitted from the handshake.