Package com.zendesk.sdk.network
Interface SdkOptions.ServiceOptions
-
- Enclosing interface:
- SdkOptions
public static interface SdkOptions.ServiceOptions
Defines behaviour for controlling network services that the SDK uses.Changing this behaviour from the DefaultSdkOptions is considered advanced usage and may cause your SDK to misbehave. Please be careful with the options.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.List<ConnectionSpec>
getConnectionSpecs()
Gets a list of okhttp3.ConnectionSpec to use when making network requests.
-
-
-
Method Detail
-
getConnectionSpecs
java.util.List<ConnectionSpec> getConnectionSpecs()
Gets a list of okhttp3.ConnectionSpec to use when making network requests.Zendesk Servers only support https using TLS. The only reason to override this is to support testing API calls with mock servers or if you wish to use some of your own endpoints which are not https & TLS enabled.
- Returns:
- the list of ConnectionSpec to use when making connections
-
-