IMSRequestClient Class Reference

Inherits from NSObject
Declared in IMSRequestClient.h

Overview

用于发送 API 通道请求

+ registerDelegate:forAuthenticationType:

注册 API 请求的认证处理 Delegate

+ (void)registerDelegate:(id<IMSAuthenticationDelegate>)delegate forAuthenticationType:(NSString *)authType

Parameters

delegate

认证处理 delegate

authType

认证类型

Discussion

注册 API 请求的认证处理 Delegate

Declared In

IMSRequestClient.h

+ asyncSendRequest:responseHandler:

异步发送请求,响应会通过主线程回调

+ (void)asyncSendRequest:(IMSRequest *)request responseHandler:(IMSResponseHandler)responseHandler

Parameters

request

请求对象

responseHandler

响应回调

Discussion

异步发送请求,响应会通过主线程回调

Declared In

IMSRequestClient.h