V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
inSpring
V2EX  ›  Node.js

Nodejs 有哪个 http 请求框架,可以方便的分别指定 connect timeout、read timeout 时间吗?

  •  
  •   inSpring · 89 天前 · 1822 次点击
    这是一个创建于 89 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    2025-02-13 14:07:13 +08:00
    momo2789
        1
    momo2789  
       89 天前
    humbass
        2
    humbass  
       89 天前
    axios 可以直接设置 timeout 参数
    gesse
        3
    gesse  
       9 天前
    @momo2789
    GOT 好像现在已经不支持导出 CommonJS 了,适用的时候要注意。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2926 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 08:34 · PVG 16:34 · LAX 00:34 · JFK 03:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.