Replies: 3 comments
-
great issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
No updates? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Axios is not optimised to handle "Long lived events". It could but its a stretch. That being said you could hack to make Axios handle the SSE stream (stream headers), parse stream events, manage readyState and handle errors (retries). Or find a library (https://github.com/EventSource/eventsource) that specialises in doing this or simply implement a basic wrapper around EventSource |
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
-
Describe the issue
what if to process Server Sent Event, what does field
reponseType
set?seems only
onDownloadProgress
can processExample Code
No response
Expected behavior
No response
Axios Version
No response
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
Beta Was this translation helpful? Give feedback.
All reactions