Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implementing Hijack interface in sessionResponseWriter #189

Closed
wants to merge 2 commits into from

Conversation

NewHouses
Copy link

No description provided.

@VipWW
Copy link

VipWW commented Feb 2, 2024

@alexedwards would you consider merging these changes? They are more than useful for websockets

@ryanlath
Copy link

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()

@alexedwards
Copy link
Owner

@ryanlath Please see #188

@alexedwards
Copy link
Owner

@NewHouses I've implemented this in commit a38e822. I felt that using http.ResponseController and build tags to restrict the functionality to Go 1.20+ was a better option here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants