SpruceSSL/Classes/MGMWebViewMethods.m

25 lines
1.4 KiB
Mathematica
Raw Normal View History

2010-11-04 12:05:40 -05:00
//
// MGMWebViewMethods.m
// SpruceSSL
//
// Created by Mr. Gecko on 11/2/10.
// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
//
#import "MGMWebViewMethods.h"
#import "MGMSpruceSSL.h"
@implementation NSURLConnection (MGMWebViewMethods)
- (id)MGMInitWithRequest:(NSURLRequest *)request delegate:(id)delegate startImmediately:(BOOL)startImmediately {
return [self MGMInitWithRequest:[[MGMSpruceSSL sharedController] requestForRequest:request] delegate:delegate startImmediately:startImmediately];
}
- (id)MGMInitWithRequest:(NSURLRequest *)request delegate:(id)delegate {
return [self MGMInitWithRequest:[[MGMSpruceSSL sharedController] requestForRequest:request] delegate:delegate];
}
- (id)MGMInitWithRequest:(NSURLRequest *)request delegate:(id)delegate priority:(float)priority {
return [self MGMInitWithRequest:[[MGMSpruceSSL sharedController] requestForRequest:request] delegate:delegate priority:priority];
}
- (id)MGMInitWithRequest:(NSURLRequest *)request delegate:(id)delegate usesCache:(BOOL)usesCacheFlag maxContentLength:(long long)maxContentLength startImmediately:(BOOL)startImmediately connectionProperties:(NSDictionary *)connectionProperties {
return [self MGMInitWithRequest:[[MGMSpruceSSL sharedController] requestForRequest:request] delegate:delegate usesCache:usesCacheFlag maxContentLength:maxContentLength startImmediately:startImmediately connectionProperties:connectionProperties];
}
@end