Drops the serde_eventsource dependency
serde_eventsource is taking a while to update to reqwest 13.*. This PR implements handling SSE in the library code.
This commit is contained in:
@@ -35,6 +35,12 @@ pub struct ServerSentEventsCodec {
|
||||
next: ServerSentEvent,
|
||||
}
|
||||
|
||||
impl Default for ServerSentEventsCodec {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl ServerSentEventsCodec {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user