25 #import <Foundation/Foundation.h>
32 - (void)streamPair:(
CFStreamPair *)streamPair hasBytesAvailable:(NSUInteger)bytesAvailable;
34 - (void)streamPair:(
CFStreamPair *)streamPair handleRequestEvent:(NSStreamEvent)eventCode;
35 - (void)streamPair:(
CFStreamPair *)streamPair handleResponseEvent:(NSStreamEvent)eventCode;
49 @property(weak, NS_NONATOMIC_IOSONLY) id<CFStreamPairDelegate>
delegate;
53 - (id)initWithRequestStream:(NSInputStream *)requestStream responseStream:(NSOutputStream *)responseStream;
54 - (id)initWithSocketNativeHandle:(NSSocketNativeHandle)socketNativeHandle;
88 - (NSString *)receiveLineUsingEncoding:(NSStringEncoding)encoding;
97 - (void)handleRequestEvent:(NSStreamEvent)eventCode;
98 - (void)handleResponseEvent:(NSStreamEvent)eventCode;