SSE 流式请求
async iteration / emitter 两种流消费模式
SSE 流式请求
使用 @kkfive/request 的 sse 方法连接本地 text/event-stream 端点,并展示两种消费模式的事件结果。
流配置
POST /api/example/request/sse
5 条
450ms
实时响应
Async iteration · 0 events
0%0 events
拼接内容
等待流事件...
暂无事件
async iteration / emitter 两种流消费模式
使用 @kkfive/request 的 sse 方法连接本地 text/event-stream 端点,并展示两种消费模式的事件结果。
POST /api/example/request/sse
Async iteration · 0 events
等待流事件...