Lines Matching defs:conn
16 type conn struct { struct
17 url url.URL
18 remoteHeader http.Header
19 ws wrapper
20 closed chan struct{}
21 closeOnce sync.Once
22 base.FrameWriter
23 base.FrameReader
39 func (c *conn) URL() url.URL {
43 func (c *conn) RemoteHeader() http.Header {
47 func (c *conn) LocalAddr() net.Addr {
51 func (c *conn) RemoteAddr() net.Addr {
55 func (c *conn) SetReadDeadline(t time.Time) error {
59 func (c *conn) SetWriteDeadline(t time.Time) error {
68 func (c *conn) ServeHTTP(w http.ResponseWriter, r *http.Request) {
72 func (c *conn) Close() error {