You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example uses Result<Event, Infallible> and thus never pushes errors to the server-sent events stream. I tried pushing an error and got net::ERR_INCOMPLETE_CHUNKED_ENCODING in the browser's DevTools console.
What is the purpose of being able to push errors? I couldn't find the answer in the docs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
The example uses
Result<Event, Infallible>
and thus never pushes errors to the server-sent events stream. I tried pushing an error and gotnet::ERR_INCOMPLETE_CHUNKED_ENCODING
in the browser's DevTools console.What is the purpose of being able to push errors? I couldn't find the answer in the docs.
axum version
0.7.5
Beta Was this translation helpful? Give feedback.
All reactions