@@ -24,10 +24,11 @@ #import "OFHTTPClient.h" #import "OFData.h" #import "OFDictionary.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" +#import "OFKernelEventObserver.h" #import "OFNumber.h" #import "OFString.h" #import "OFTCPSocket.h" #import "OFURL.h" @@ -63,11 +64,11 @@ context: (id)context; - (void)start; - (void)closeAndReconnect; @end -@interface OFHTTPClientResponse: OFHTTPResponse +@interface OFHTTPClientResponse: OFHTTPResponse { OFTCPSocket *_socket; bool _hasContentLength, _chunked, _keepAlive, _atEndOfStream; size_t _toRead; }