没有合适的资源?快使用搜索试试~ 我知道了~
httpx:带电源的http(s)模块
共9个文件
js:2个
json:2个
ts:1个
需积分: 5 0 下载量 167 浏览量
2021-05-28
21:46:22
上传
评论
收藏 7KB ZIP 举报
温馨提示
httpx 带电源的http(s)模块。 安装 $ npm install httpx --save 用法 'use strict' ; const httpx = require ( 'httpx' ) ; httpx . request ( 'http://www.baidu.com/' ) . then ( ( response ) => { response . pipe ( process . stdout ) ; response . on ( 'end' , ( ) => { process . stdout . write ( '\n' ) ; } ) ; } , ( err ) => { // on error } ) ; 或与co 。 co ( function * ( ) { var response = yield httpx
资源推荐
资源详情
资源评论
收起资源包目录
httpx-master.zip (9个子文件)
httpx-master
.travis.yml 73B
package.json 954B
.eslintrc.json 1KB
test
index.test.js 4KB
.gitignore 35B
lib
index.js 7KB
index.d.ts 696B
README.md 3KB
.eslintignore 35B
共 9 条
- 1
资源评论
莊謙
- 粉丝: 22
- 资源: 4629
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功