2 #ifndef __SOPEX_SOPEXWebConnection_H__
3 #define __SOPEX_SOPEXWebConnection_H__
5 #import <Foundation/NSObject.h>
7 @class NSURL, NSString, NSData, NSBundle, NSMutableDictionary;
10 @interface SOPEXWebConnection : NSObject
14 NSBundle *localResourceBundle;
15 NSMutableDictionary *resourceCache;
19 - (id)initWithURL:(id)_url localResourceBundle:(NSBundle *)_resourceBundle;
24 - (NSString *)sessionID;
28 - (void)processResponse:(NSURLResponse *)_r data:(NSData *)_data;
30 - (BOOL)shouldRewriteRequestURL:(NSURL *)_url;
31 - (NSURL *)rewriteRequestURL:(NSURL *)_url;
35 #endif /* __SOPEX_SOPEXWebConnection_H__*/