高德地图SDK(导航)  V11.1.000
<AMapNaviOpenNetwrokProxyDelegate> Protocol Reference

#import <AMapNaviOpenNetwrokProxyManager.h>

Inheritance diagram for <AMapNaviOpenNetwrokProxyDelegate>:

Instance Methods

(NSString *) - getHostByPath:header:
 通过path获取代理host,开发者需要保证host的合法性。since 10.1.111 Obtain the proxy host through the path, developers need to ensure the legality of the host. since 10.1.111 More...
 
(NSDictionary *) - getExtRequestParamByPath:header:
 开发者请根据实际情况返回对应的请求path是否需要携带参数,参数和数据放在URL中,需要注意携带的数据不易过多,且需要对key、value进行encode。since 10.1.111 Developers should determine whether the request path needs to carry parameters based on the actual situation. Parameters and data should be placed in the URL, but note that the data should not be excessive, and the key and value need to be encoded. since 10.1.111 More...
 
(void) - onResponseExtParam:repsoneStr:requestHeader:
 通过path获取代理host。since 10.1.111 Get the proxy host through the path. since 10.1.111 More...
 

Method Documentation

◆ getExtRequestParamByPath:header:

- (NSDictionary *) getExtRequestParamByPath: (NSString *)  path
header: (NSDictionary *)  header 
optional

开发者请根据实际情况返回对应的请求path是否需要携带参数,参数和数据放在URL中,需要注意携带的数据不易过多,且需要对key、value进行encode。since 10.1.111 Developers should determine whether the request path needs to carry parameters based on the actual situation. Parameters and data should be placed in the URL, but note that the data should not be excessive, and the key and value need to be encoded. since 10.1.111

Parameters
path网络请求的path The path of the network request
Returns
根据path返回需要携带的数据,没有需要携带的数据可返回nil,也可不实现。 Return the data to be carried according to the path, return nil if there is no data to be carried, or it can be unimplemented.

◆ getHostByPath:header:

- (NSString *) getHostByPath: (NSString *)  path
header: (NSDictionary *)  header 
optional

通过path获取代理host,开发者需要保证host的合法性。since 10.1.111 Obtain the proxy host through the path, developers need to ensure the legality of the host. since 10.1.111

Parameters
path网络请求的path The path of the network request

◆ onResponseExtParam:repsoneStr:requestHeader:

- (void) onResponseExtParam: (NSString *)  path
repsoneStr: (NSString *)  repsoneStr
requestHeader: (NSDictionary *)  header 
optional

通过path获取代理host。since 10.1.111 Get the proxy host through the path. since 10.1.111

Parameters
path网络请求的path The path of the network request
responseStr服务返回的数据 The data returned by the service

The documentation for this protocol was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。