@ Deprecated public AndroidChannelBuilder sslSocketFactory ( SSLSocketFactory factory ) { try { OKHTTP_CHANNEL_BUILDER_CLASS . getMethod ( "sslSocketFactory" , SSLSocketFactory . class ) . invoke ( delegateBuilder , factory ) ; return this ; } catch ( Exception e ) { throw new RuntimeException ( "Failed to invoke sslSocketFactory on delegate builder" , e ) ; } }
Set the delegate channel builder s sslSocketFactory .