Click or drag to resize
SynchronizationEngineHostCreateHttpClient Method
Creates a new instance of an HttpClient, configured with the right auth and other headers and the BaseUri to be used to call into the cloud.

Namespace: Oracle.Cloud.Mobile.Synchronization
Assembly: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public abstract HttpClient CreateHttpClient(
	SyncPolicy policy = null
)

Parameters

policy (Optional)
Type: Oracle.Cloud.Mobile.SynchronizationSyncPolicy
Optional SyncPolicy to use. If specified the HttpClient should have the HttpSyncMessageHandler set with the provided policy. If policy is null the HttpSyncMessageHandler should not be used.

Return Value

Type: HttpClient
An HttpClient instance.
See Also