umijs的mock可以返回text/event-stream 格式的数据吗 #12051
Unanswered
consistent-k
asked this question in
Q&A
Replies: 1 comment
-
不可以,目前的 mock 功能只是最简单的 get post 响应 json 来 mock ,如果需要更复杂的 mock ,建议使用自己的 mock 平台或自己搭一个小的 mock 服务每次启动,或者代理转发等方案。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
rt
Beta Was this translation helpful? Give feedback.
All reactions