TuSDKNKNetworkArg Class Reference

Inherits from NSObject
Declared in TuSDKNKNetworkArg.h

Overview

网络连接参数

  error

错误对象

@property (nonatomic, retain) NSError *error

Declared In

TuSDKNKNetworkArg.h

  returnCode

返回操作代码

@property (nonatomic) NSInteger returnCode

Declared In

TuSDKNKNetworkArg.h

  data

返回数据

@property (nonatomic, retain) NSObject *data

Declared In

TuSDKNKNetworkArg.h

  downFile

是否为下载动作

@property (nonatomic) BOOL downFile

Declared In

TuSDKNKNetworkArg.h

+ initWithTarget:action:

初始化

+ (instancetype)initWithTarget:(id)target action:(SEL)action

Parameters

target

委托对象

action

对象方法

Return Value

target 网络连接参数

Declared In

TuSDKNKNetworkArg.h

– getDictionaryData

获取字典数据

- (NSDictionary *)getDictionaryData

Return Value

getDictionaryData 字典数据

Declared In

TuSDKNKNetworkArg.h

– getSubDataWithKey:

获取子数据

- (NSDictionary *)getSubDataWithKey:(NSString *)key

Parameters

key

子数据键名

Return Value

key 子数据

Declared In

TuSDKNKNetworkArg.h

– onNetworkRequestFinishedWithOperation:

网络请求结束

- (void)onNetworkRequestFinishedWithOperation:(TuSDKNetworkOperation *)operation

Parameters

operation

网络操作对象

Declared In

TuSDKNKNetworkArg.h