arq_restore/cocoastack/http/HTTPConnectionFactory.h
2014-07-28 14:20:07 -04:00

24 lines
637 B
Objective-C

//
// HTTPConnectionFactory.h
// Arq
//
// Created by Stefan Reitshamer on 3/15/12.
// Copyright 2012 Haystack Software. All rights reserved.
//
@protocol HTTPConnection;
@protocol DataTransferDelegate;
@interface HTTPConnectionFactory : NSObject {
// NSTimeInterval maxConnectionLifetime;
// NSLock *lock;
// NSMutableDictionary *connectionMapsByThreadId;
}
+ (HTTPConnectionFactory *)theFactory;
- (id <HTTPConnection>)newHTTPConnectionToURL:(NSURL *)theURL
method:(NSString *)theMethod
dataTransferDelegate:(id <DataTransferDelegate>)theDelegate;
@end