]> Cypherpunks repositories - gostls13.git/commit
websocket: include *http.Request in websocket.Conn
authorAndrew Gerrand <adg@golang.org>
Tue, 26 Apr 2011 00:47:49 +0000 (10:47 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 26 Apr 2011 00:47:49 +0000 (10:47 +1000)
commit43b97ce69bdf417c64e639399921a655ca39baea
tree25b192afe4a1b865d168a2a0d28214f66559cc16
parent079a5cffb3f541920b28dabbe777a0dee5d6f32a
websocket: include *http.Request in websocket.Conn

This permits the websocket handler to inspect http headers and such.

Fixes #1726.

R=ukai, bradfitz, bradfitzgo
CC=golang-dev
https://golang.org/cl/4439069
src/pkg/websocket/server.go
src/pkg/websocket/websocket.go