Socket
Socket
Sign inDemoInstall

ant-http

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ant-http

simple http/https request lib


Version published
Weekly downloads
16
increased by1500%
Maintainers
1
Install size
12.6 kB
Created
Weekly downloads
 

Readme

Source

简单实用的http/https请求库

提供了5个接口:get、post、upload、download、downStream

其中download会把数据集中到一起再下载到文件,写入文件需要自己使用回调函数实现,适合小文件。

downStream会根据传入的目标文件路径创建可写流,数据会实时写入到可写流。

Keywords

FAQs

Last updated on 16 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc