wsconn

package
v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package wsconn contains an adapter type that turns a websocket connection into a net.Conn.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *websocket.Conn) net.Conn

New returns a net.Conn wrapper around c, using c to send and receive binary messages with chunks of bytes with no defined framing, effectively discarding all WebSocket-level message framing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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