pub trait EventSourceExt {
// Required method
fn event_source(self) -> Result<EventSource, Error>;
}Expand description
Extension methods for building reconnecting SSE event sources from backend-specific clients.
Required Methods§
Sourcefn event_source(self) -> Result<EventSource, Error>
fn event_source(self) -> Result<EventSource, Error>
Converts this backend-specific request source into a reconnecting EventSource.
Implementations on Foreign Types§
Source§impl EventSourceExt for RequestBuilder
Available on crate feature reqwest only.
impl EventSourceExt for RequestBuilder
Available on crate feature
reqwest only.