mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
16 lines
367 B
Objective-C
16 lines
367 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
*
|
|
* Stores an NSInputStream and an NSOutputStream in one object
|
|
*
|
|
**/
|
|
|
|
@interface StreamPair : NSObject
|
|
@property (nonatomic, readonly) NSInputStream* inputStream;
|
|
@property (nonatomic, readonly) NSOutputStream* outputStream;
|
|
|
|
+(StreamPair*) streamPairWithInput:(NSInputStream*)input andOutput:(NSOutputStream*)output;
|
|
|
|
@end
|