rcp

27 阅读1分钟

let rcpSession: rcp.Session = rcp.createSession( { requestConfiguration: { security: { remoteValidation: 'system' } } }) // this.httpsUrl rcpSession.get('https:') .then((response) => { if (response.body != undefined) { let result = buf2String(response.body) this.msgHistory += '请求响应信息: ' + result + "\r\n"; console.log('result',result) } }).catch((err: BusinessError) => { this.msgHistory += err: err code is ${err.code}, err message is ${JSON.stringify(err)}\r\n; })