Versions in this module Expand all Collapse all v0 v0.0.2 Aug 15, 2026 Changes in this version + const ConnectionWriteTimeout + const KeepAliveInterval + func Client(ws *websocket.Conn) (*yamux.Session, error) + func Config() *yamux.Config + func Dial(ctx context.Context, opts ClientOptions) (*yamux.Session, error) + func NewConn(ws *websocket.Conn) net.Conn + func Serve(ctx context.Context, opts ClientOptions, ...) error + func Server(ws *websocket.Conn) (*yamux.Session, error) + func URL(base, path string) string + type ClientOptions struct + Dialer *websocket.Dialer + Header http.Header + Insecure bool + MaxBackoff time.Duration + MinBackoff time.Duration + OnConnect func() + OnError func(error) + URL string