Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
jzy-request-client
Advanced tools
标准配置项:
扩展配置项:
## 标准Restful 支持
参数:
参数 | 说明 | |
---|---|---|
url | 请求地址 | |
requestData | ||
headerOptions | ||
requestOptions | ||
abortController |
全局配置重试次数;
单个接口配置;
日志拦截器;
请求拦截器和响应拦截器支持同步/异步处理;
禁用系统代理
RxJs 版超时机制;
RxJs 版节流;
RxJx 重试机制;
URLSearchParams https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
Fetch
Promise
AbortController
更改打包配置
正式支持超时配置、请求重试等重要功能
#0.0.5 添加请求防重机制
#0.0.3
1.更正请求参数设置错误;
备注: 暂无足够资源测试接口逻辑是否完善,仅仅测试了 get 、
1. 预定义状态码
2. web fetch API
3. 支持标准HTTP 请求方法;
4. 支持超时机制(Promise.race()实现);
5. 默认禁用cookie;
基于axios(XMLHTTPRequest 实现) 封装常用请求;
FAQs
基于web fetch api封装的http 网络请求库
The npm package jzy-request-client receives a total of 1 weekly downloads. As such, jzy-request-client popularity was classified as not popular.
We found that jzy-request-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.