simpligility / ksoap2-android

ksoap2-android - SOAP support for Android
http://simpligility.github.io/ksoap2-android/
Other
543 stars 247 forks source link

Allow to specify an existing OkHttpClient instance for transport #99

Closed rob-X1 closed 8 years ago

rob-X1 commented 8 years ago

When using OkHttp as transport it is a bad idea to use a fixed OkHttpClient as all configuration is fixed and can not be changed (e.g. authenticators).

Therefore I added a new constructor in OkHttpTransportSE and OkHttpServiceConnectionSE that allows to specify an existing OkHttpClient instance.