Closed imclint21 closed 4 years ago
@CephalonRho, for SSE I use written this, we need to ensure that SEE is covered by JWT authentication if it's enabled, what I need to add below?
let sse = warp::path("notifications")
.and(warp::get())
.map(|| {
warp::sse::reply(warp::sse::keep_alive()
.stream(sse_events()))
})
.and(sse_enabled);
PS: sometimes we have verify_auth
, sometimes check_webui
I think that we need to uniform this!
It works! (like said Apache)
Just some things to change:
sse_event_stream()
I Merge #60 to create a Lucid PoC.
Hey,
This is the first base of the SSE implementation!
Kind regards