fluent-request:Node.js 中 HTTP 请求的流畅接口

时间:2021-06-19 15:55:08
【文件属性】:
文件名称:fluent-request:Node.js 中 HTTP 请求的流畅接口
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-19 15:55:08
JavaScript 流畅请求 Node.js 中 HTTP 请求的流畅接口 目录 request.withJSON(json) request.withMethod(方法) request.withPath(path) request.withPathSection(index, section) request.withUserAgent(userAgent) request.withQuery(key, value) 请求(选项) 发送具有指定选项的请求。 选项可以是字符串或对象。 如果options是一个字符串,它将立即使用url.parse()进行解析。 如果options是一个对象,它应该具有以下属性: protocol :传输协议(默认为'http:' )。 hostname :服务器的域名或 IP 地址(默认为'localhost' )。 port :服务器的端口(http
【文件预览】:
fluent-request-master
----.gitignore(587B)
----package.json(822B)
----bump-version(197B)
----.travis.yml(445B)
----LICENSE(1KB)
----README.md(12KB)
----lib()
--------request.js(5KB)
----test()
--------patch.js(5KB)
--------get.js(4KB)
--------head.js(4KB)
--------del.js(5KB)
--------post.js(5KB)
--------put.js(5KB)
--------merge.js(5KB)

网友评论