ws

package
v1.3.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2016 License: Apache-2.0, CC-BY-SA-4.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	*websocket.Conn
	// contains filtered or unexported fields
}

Wrap an HTTP2 connection over WebSockets and use the underlying WebSocket framing for proxy compatibility.

func NewConnection

func NewConnection(w *websocket.Conn) *Conn

func (Conn) Close

func (c Conn) Close() error

func (Conn) Read

func (c Conn) Read(b []byte) (int, error)

func (Conn) SetDeadline

func (c Conn) SetDeadline(t time.Time) error

func (Conn) Write

func (c Conn) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL