decompress-response:必要时解压缩HTTP响应

时间:2021-05-09 12:47:33
【文件属性】:
文件名称:decompress-response:必要时解压缩HTTP响应
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-09 12:47:33
JavaScript 解压缩响应 必要时解压缩HTTP响应 如果使用Brotli将的压缩,压缩或压缩,则对它进行解压缩,否则只需将其传递即可。 使用 。 安装 $ npm install decompress-response 用法 const http = require ( 'http' ) ; const decompressResponse = require ( 'decompress-response' ) ; http . get ( 'https://sindresorhus.com' , response => { response = decompressResponse ( response ) ; } ) ; 原料药 decompressResponse(响应) 返回解压缩的HTTP响应流。 回复 类型: 具有压缩数据的HTTP传入流。 Tidelift帮助维护人员实现开源的
【文件预览】:
decompress-response-main
----index.js(1KB)
----package.json(985B)
----index.test-d.ts(236B)
----readme.md(1KB)
----.github()
--------funding.yml(125B)
--------workflows()
--------security.md(179B)
----test()
--------_server.js(484B)
--------test.js(3KB)
----license(1KB)
----index.d.ts(855B)
----.gitignore(23B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(19B)

网友评论