Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/net/websocket: Add the original http.Request to websocket.Conn #1726
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!