合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
## HttpHelper::setCookie ###接口说明 >设置Cookie文件 > +++ put:setCookie var:cookie=cookie文件目录# <<< success 无返回类型 +++ ###代码演示 ~~~ var main(var thread,var params) { var httpHelper = new HttpHelper; httpHelper.setProxy("123.123.123.123:8888"); httpHelper.setCookie("d:/cookie/cookie.txt"); httpHelper.addHeader("test: 1"); httpHelper.doGet("www.baidu.com",443,"/s","c=100&b=200",[](var data){ println(data); }); println(httpHelper.getHeaderData()); } ~~~