-
Notifications
You must be signed in to change notification settings - Fork 6
/
CLAPITransaction.h
35 lines (29 loc) · 1006 Bytes
/
CLAPITransaction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// CLAPITransaction.h
// Cloud
//
// Created by Nick Paulson on 12/29/10.
// Copyright 2010 Linebreak. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CLAPIEngineConstants.h"
@interface CLAPITransaction : NSObject {
NSURLRequest *_request;
NSURLConnection *_connection;
NSMutableData *_receivedData;
NSHTTPURLResponse *_response;
CLAPIRequestType _requestType;
NSString *_identifier;
id _userInfo;
id _internalContext;
}
@property (nonatomic, readwrite, retain) NSURLRequest *request;
@property (nonatomic, readwrite, retain) NSHTTPURLResponse *response;
@property (nonatomic, readwrite, retain) NSURLConnection *connection;
@property (nonatomic, readwrite, retain) NSMutableData *receivedData;
@property (nonatomic, readwrite, assign) CLAPIRequestType requestType;
@property (nonatomic, readwrite, copy) NSString *identifier;
@property (nonatomic, readwrite, retain) id userInfo;
@property (nonatomic, readwrite, retain) id internalContext;
+ (id)transaction;
@end