//
//  RYSessionTask.h
//  SDK
//
//  Created by ldc on 2024/1/3.
//

#import <Foundation/Foundation.h>
#import <RYCommunication/base.h>

NS_ASSUME_NONNULL_BEGIN

@interface RYSessionTask : NSObject <RYSessionIdentity>

- (NSData *)getTaskData;

@end

@interface RYDataRequest : RYSessionTask

- (instancetype)initWithData:(NSData *)data;

- (instancetype)initWithData:(NSData *)data identity:(NSString * _Nullable)identity;

@end

@interface RYDataResponse : NSObject <RYSessionIdentity>

@property (nonatomic, strong) NSData *data;

- (instancetype)initWithData:(NSData *)data;

@end

NS_ASSUME_NONNULL_END
