Persistent HTTPS Connections: Reduce API call time by 50%


HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse, is the idea of using a single TCP connection to send and receive multiple HTTP requests/responses, as opposed to opening a new connection for every single request/response pair. The newer HTTP/2 protocol uses the same idea and takes it further to allow multiple concurrent... Continue Reading →

Advertisements

Some common but Useful iOS Methods….


+(void)commonAlert:(NSString *)title msg:(NSString *)msg{    UIAlertView *_alert=[[UIAlertView alloc] initWithTitle:title message:msg delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];    [_alert show];} 2.For checking network connection+(BOOL)DeviceOnline{    Reachability *networkReachability = [Reachability reachabilityForInternetConnection];    NetworkStatus networkStatus = [networkReachability currentReachabilityStatus];    NSLog(@"network status %ld",networkStatus);    if (networkStatus == NotReachable) {                UIAlertView *_alert=[[UIAlertView alloc] initWithTitle:@"No Network Connection" message:@"There are... Continue Reading →

Blog at WordPress.com.

Up ↑

%d bloggers like this: