pub fn endpoint<F, Fut, State>(handler: F) -> SseEndpoint<F, Fut, State>Expand description
Create an endpoint that can handle SSE connections.
pub fn endpoint<F, Fut, State>(handler: F) -> SseEndpoint<F, Fut, State>Create an endpoint that can handle SSE connections.