Page 1 of 1

ty.request能否支持分块传输?实现SSE

Posted: 2025年 Jul 4日 17:51
by silly
  • 问题描述(复现步骤):

    Code: Select all

    import { request } from '@ray-js/ray'
    const manager = request({ ... })
    能否允许通过Chunk的方式,分片接受数据流缓存起来?或者有没有实现SSE的更好方法?
    • 预期结果:
    • 实际结果: