Trait eventsource_client::Client

source ·
pub trait Client:
    Send
    + Sync
    + Sealed {
    // Required method
    fn stream(&self) -> BoxStream<Result<SSE>>;
}
Expand description

Client is the Server-Sent-Events interface. This trait is sealed and cannot be implemented for types outside this crate.

Required Methods§

Implementors§