MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / isCredentail

Method isCredentail

src/openlayers/mapping/WebMap.js:4416–4421  ·  view source on GitHub ↗

* 请求是否带上cookie * @param {string} url 请求地址,必选参数。 * @param {boolean} proxy 是否需要加上代理,可选参数。 * @returns { boolean | undefined } 是否带上cookie

(url, proxy)

Source from the content-addressed store, hash-verified

4414 * @returns { boolean | undefined } 是否带上cookie
4415 */
4416 isCredentail(url, proxy) {
4417 if(proxy || this.isIportalProxyServiceUrl(url) || CommonUtil.isInTheSameDomain(url)) {
4418 return true
4419 }
4420 return;
4421 }
4422 /**
4423 * url是否要带上代理
4424 * @param {*} url 请求地址,必选参数。

Callers 15

excelData2FeatureMethod · 0.95
getDatasourcesMethod · 0.95
getDataServiceMethod · 0.95
getTileLayerInfoMethod · 0.95
getMapLayerExtentMethod · 0.95
getMapboxStyleMethod · 0.95
isSupportWebpMethod · 0.95
successCallbackFunction · 0.80
getMapInfoMethod · 0.80

Calls 1

Tested by

no test coverage detected