◆ URLConnectionState()
URLConnectionState::URLConnectionState |
( |
NSURLRequest * |
req, |
|
|
const int |
maxRedirects |
|
) |
| |
|
inline |
◆ ~URLConnectionState()
URLConnectionState::~URLConnectionState |
( |
| ) |
|
|
inline |
◆ didFailWithError()
void URLConnectionState::didFailWithError |
( |
NSError * |
error | ) |
|
|
inline |
◆ didReceiveData()
void URLConnectionState::didReceiveData |
( |
NSData * |
newData | ) |
|
|
inline |
◆ didReceiveResponse()
void URLConnectionState::didReceiveResponse |
( |
NSURLResponse * |
response | ) |
|
|
inline |
◆ didSendBodyData()
void URLConnectionState::didSendBodyData |
( |
NSInteger |
totalBytesWritten, |
|
|
NSInteger |
|
|
) |
| |
|
inline |
◆ finishedLoading()
void URLConnectionState::finishedLoading |
( |
| ) |
|
|
inline |
◆ read()
int URLConnectionState::read |
( |
char * |
dest, |
|
|
int |
numBytes |
|
) |
| |
|
inline |
◆ run()
void URLConnectionState::run |
( |
| ) |
|
|
inlineoverridevirtual |
Must be implemented to perform the thread's actual code.
Remember that the thread must regularly check the threadShouldExit() method whilst running, and if this returns true it should return from the run() method as soon as possible to avoid being forcibly killed.
- See also
- threadShouldExit, startThread
Implements Thread.
◆ start()
◆ stop()
void URLConnectionState::stop |
( |
| ) |
|
|
inline |
◆ willSendRequest()
NSURLRequest* URLConnectionState::willSendRequest |
( |
NSURLRequest * |
newRequest, |
|
|
NSURLResponse * |
redirectResponse |
|
) |
| |
|
inline |
◆ connection
NSURLConnection* URLConnectionState::connection |
◆ contentLength
int64 URLConnectionState::contentLength |
◆ data
NSMutableData* URLConnectionState::data |
◆ dataLock
◆ delegate
NSObject* URLConnectionState::delegate |
◆ hasFailed
bool URLConnectionState::hasFailed |
◆ hasFinished
bool URLConnectionState::hasFinished |
◆ headers
NSDictionary* URLConnectionState::headers |
◆ initialised
bool URLConnectionState::initialised |
◆ latestTotalBytes
int URLConnectionState::latestTotalBytes |
◆ numRedirects
int URLConnectionState::numRedirects |
◆ numRedirectsToFollow
const int URLConnectionState::numRedirectsToFollow |
◆ request
NSURLRequest* URLConnectionState::request |
◆ statusCode
int URLConnectionState::statusCode |
The documentation for this class was generated from the following file: