Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.441 kB
typedef void(^URLConnectionCallback)(NSData*, NSError*);
@interface URLConnection : NSObject {
CFReadStreamRef stream;
URLConnectionCallback cb;
NSMutableData *bytes;
NSTimer *timeout;
int events;
}
+ (URLConnection*) connectionForRequest:(NSURLRequest*)request
completionHandler:(URLConnectionCallback) cb;
+ (void) setHermesProxy: (CFReadStreamRef) stream;
- (void) start;
- (void) setHermesProxy;
@end
Jump to Line
Something went wrong with that request. Please try again.