558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
|
- (short)statusCode
{
return statusCode;
}
- (OFDictionary*)headers
{
return [[headers copy] autorelease];
}
- (OFDataArray*)data
{
return [[data retain] autorelease];
}
@end
@implementation OFObject (OFHTTPRequestDelegate)
- (void)request: (OFHTTPRequest*)request
didCreateSocket: (OFTCPSocket*)socket
{
|
|
|
|
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
|
- (short)statusCode
{
return statusCode;
}
- (OFDictionary*)headers
{
OF_GETTER(headers, YES)
}
- (OFDataArray*)data
{
OF_GETTER(data, YES)
}
@end
@implementation OFObject (OFHTTPRequestDelegate)
- (void)request: (OFHTTPRequest*)request
didCreateSocket: (OFTCPSocket*)socket
{
|