mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
27 lines
768 B
Objective-C
27 lines
768 B
Objective-C
//
|
|
// HTTPConnectionFactory.h
|
|
// Arq
|
|
//
|
|
// Created by Stefan Reitshamer on 3/15/12.
|
|
// Copyright 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
|
|
@protocol HTTPConnection;
|
|
@protocol HTTPConnectionDelegate;
|
|
@class HTTPTimeoutSetting;
|
|
|
|
|
|
@interface HTTPConnectionFactory : NSObject {
|
|
NSTimeInterval maxConnectionLifetime;
|
|
NSLock *lock;
|
|
NSMutableDictionary *connectionMapsByThreadId;
|
|
}
|
|
|
|
+ (HTTPConnectionFactory *)theFactory;
|
|
- (id <HTTPConnection>)newHTTPConnectionToURL:(NSURL *)theURL
|
|
method:(NSString *)theMethod
|
|
httpTimeoutSetting:(HTTPTimeoutSetting *)theHTTPTimeoutSetting
|
|
httpConnectionDelegate:(id <HTTPConnectionDelegate>)theHTTPConnectionDelegate;
|
|
|
|
@end
|