package
2.0.0+incompatible
Repository: https://github.com/taskcluster/websocktunnel.git
Documentation: pkg.go.dev

# Functions

Client instantiates a new client session over a websocket connection.
Server instantiates a new server session over a websocket connection.

# Constants

DefaultCapacity of read buffer.
No description provided by the author

# Variables

ErrAcceptTimeout is returned when the Accept operation times out.
ErrBrokenPipe is returned when data cannot be written to or read from a stream.
ErrDuplicateStream is returned when a duplicate stream is found.
ErrInvalidDeadline is returned when the time is before the current time.
ErrKeepAliveExpired is returned when the keep alive timer expired.
ErrMalformedHeader indicate a websocket frame header was invalid.
ErrNoCapacity is returns if the read buffer is full and a session attempts to load more data into the buffer.
ErrReadTimeout if the read operation on a stream times out.
ErrSessionClosed is returned when a closed session tries to create a new stream.
ErrTooManySyns indicates too many un-accepted new incoming streams.
ErrWriteTimeout if the write operation on a stream times out.

# Structs

Config contains configuration for a new session, as created with `Server` or `Client`.
Session allows creating and accepting wsmux streams over a websocket connection.