-
Notifications
You must be signed in to change notification settings - Fork 191
Closed
Description
Hello,
I want to implement Server Sent Events and am using this library: https://github.com/r3labs/sse
The library expects the http.ResponseWriter to be able to cast to a http.Flusher for flushing.
The http.Flusher documentation states:
// The default HTTP/1.x and HTTP/2 ResponseWriter implementations
// support Flusher, *but ResponseWriter wrappers may not*. Handlers
// should always test for this ability at runtime.
Your library is wrapping http.ResponseWriter and is breaking the library.
Would it be possible for you to make the bufferedResponseWriter implement the http.Flusher?
References: r3labs/sse#130
codewinch, theadell and ElinaFurstStim
Metadata
Metadata
Assignees
Labels
No labels