Wednesday, May 1, 2013

NSURLRequest NSURLNetworkServiceTypeDefault example ios


enum
{
   NSURLNetworkServiceTypeDefault    = 0,
   NSURLNetworkServiceTypeVoIP       = 1,
   NSURLNetworkServiceTypeVideo      = 2,
   NSURLNetworkServiceTypeBackground = 3,
   NSURLNetworkServiceTypeVoice      = 4
};
typedef NSUInteger NSURLRequestNetworkServiceType;

NSURLNetworkServiceTypeDefault
Specifies standard network traffic.

Example of [NSURLRequest NSURLNetworkServiceTypeDefault]
[request setNetworkServiceType:NSURLNetworkServiceTypeDefault];