cog/Plugins/HTTPSource/HTTPSource.h

41 lines
723 B
C
Raw Normal View History

//
// HTTPSource.h
// HTTPSource
//
// Created by Vincent Spader on 3/1/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Plugin.h"
@class HTTPConnection;
@interface HTTPSource : NSObject <CogSource, NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
{
NSOperationQueue * queue;
NSURL * URL;
NSURLSession * session;
NSURLSessionDataTask * task;
Boolean didReceiveResponse;
Boolean didReceiveRandomData;
Boolean didComplete;
Boolean redirected;
NSMutableArray * redirectURLs;
NSMutableData * bufferedData;
long _bytesBuffered;
long _byteCount;
2007-03-04 00:17:05 +00:00
NSString *_mimeType;
}
@end