blob: 1a490d956ae4fdd060b314cf1896a6ae8a1249d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// SDLRPCPayload.h
//
#import <Foundation/Foundation.h>
#import "SDLRPCMessageType.h"
@interface SDLRPCPayload : NSObject
@property (assign) SDLRPCMessageType rpcType;
@property (assign) UInt32 functionID;
@property (assign) UInt32 correlationID;
@property (strong) NSData *jsonData;
@property (strong) NSData *binaryData;
- (NSData *)data;
+ (id)rpcPayloadWithData:(NSData *)data;
@end
|