package ws

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/docker/spdystream/ws"

Index

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)

Source Files

connection.go

Version
v1.1.2
Published
Nov 19, 2015
Platform
js/wasm
Imports
4 packages
Last checked
21 seconds ago

Tools for package owners.