Closed NewHouses closed 7 months ago
Yes, please merge. Your library doesn't work for me without it.
Also @NewHouses, if you want to simply it more...
return sw.ResponseWriter.(http.Hijacker).Hijack()
@ryanlath Please see https://github.com/alexedwards/scs/issues/188
@NewHouses I've implemented this in commit https://github.com/alexedwards/scs/commit/a38e822451b69071afa6fd12667d50df4563d20f. I felt that using http.ResponseController and build tags to restrict the functionality to Go 1.20+ was a better option here.
@alexedwards would you consider merging these changes? They are more than useful for websockets