We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given this test function:
func test(w http.ResponseWriter, r *http.Request) { _, ok := w.(http.Flusher) fmt.Println(ok) }
This returns true:
func main() { http.ListenAndServe(":8080", http.HandlerFunc(test)) }
This returns false:
func main() { mux := muxie.NewMux() mux.HandleFunc("/*path", test) http.ListenAndServe(":8080", mux) }
Is there any reason why the http.RequestWriter does not implement http.Flusher? I absolutely need this feature for my usage of the router
http.RequestWriter
http.Flusher
@kataras
The text was updated successfully, but these errors were encountered:
ee2fdec
Hello @lucat1,
Sorry for the delay and the issue, it has been resolved. Please upgrade to v1.0.8.
v1.0.8
Sorry, something went wrong.
No branches or pull requests
Given this test function:
This returns true:
This returns false:
Is there any reason why the
http.RequestWriter
does not implementhttp.Flusher
? I absolutely need this feature for my usage of the router@kataras
The text was updated successfully, but these errors were encountered: