SFMobileSyncNetworkUtils Class Reference

Inherits from NSObject
Declared in SFMobileSyncNetworkUtils.h

Overview

Class to provide network utilities related to MobileSync actions.

+ sendRequestWithMobileSyncUserAgent:failureBlock:successBlock:

Sends a REST request, after applying the MobileSync user agent string.

+ (void)sendRequestWithMobileSyncUserAgent:(SFRestRequest *)request failureBlock:(SFRestRequestFailBlock)failureBlock successBlock:(SFRestResponseBlock)successBlock

Parameters

request

The request to send.

failureBlock

The block to call if the request fails.

successBlock

The block to call if the request succeeds.

Declared In

SFMobileSyncNetworkUtils.h