Open Br1ght0ne opened 1 month ago
This seems like something we should track, but its hard to know how to prioritize this before understand more deeply the risks of sticking with eventsource_client
and the risks and costs and breaking changes with moving to reqwest-eventsource
.
For now, I'm going to leave at low priority.
eventsource_client
is used byfuel-core-client
to handle SSE (server-sent events). The crate is not maintained to a high enough standard, and there were cases missing functionality or wrongly implemented standards. I suggest moving to a crate likereqwest-eventsource
, which usesreqwest
under the hood.reqwest
handles all the aforementioned cases correctly, so I expect a crate like this to perform better.