Skip to content
New issue

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

x/net/websocket: Add the original http.Request to websocket.Conn #1726

Closed
gopherbot opened this issue Apr 22, 2011 · 2 comments
Closed

x/net/websocket: Add the original http.Request to websocket.Conn #1726

gopherbot opened this issue Apr 22, 2011 · 2 comments
Assignees
Milestone

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Apr 22, 2011

by engage@togethr.at:

It'd be really useful if one could access the original http.Request object within a
websocket handler. Example uses include accessing the original request for headers, etc.

I've added a minimal patch that exposes the http.Request object as part of
websocket.Conn.

Thanks!

Attachments:

  1. websocket.diff (2313 bytes)
@adg
Copy link
Contributor

@adg adg commented Apr 25, 2011

Comment 1:

Owner changed to @adg.

Status changed to Accepted.

@adg
Copy link
Contributor

@adg adg commented Apr 26, 2011

Comment 2:

This issue was closed by revision 43b97ce.

Status changed to Fixed.

@mikioh mikioh changed the title Add the original http.Request to websocket.Conn x/net/websocket: Add the original http.Request to websocket.Conn Jul 30, 2015
@mikioh mikioh modified the milestone: Unreleased Jul 30, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.