Click or drag to resize
SynchronizationCreateHttpHandler Method (SyncPolicy)
Creates a new instance of HttpMessageHandler that callers can use with an HttpClient object of enabling caching and Synchronization capabilities. The Sync handler is non-delegating and the last in the chain. It will automatically use the Diagnostics and Authorization handlers so callers shouldn't add those to the chain.

Namespace: Oracle.Cloud.Mobile.Synchronization
Assembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public HttpMessageHandler CreateHttpHandler(
	SyncPolicy policy
)

Parameters

policy
Type: Oracle.Cloud.Mobile.SynchronizationSyncPolicy
The SyncPolicy to use. Optional, if omitted then any SyncPolicy that matches from config will be used or the default SyncPolicy will be used.

Return Value

Type: HttpMessageHandler
An object that implements HttpMessageHandler.
See Also