ws_native

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotConnected = errors.New("socket connection is not initialized")

Functions

This section is empty.

Types

type WebSocketConnection

type WebSocketConnection struct {
	// contains filtered or unexported fields
}

func (*WebSocketConnection) Close

func (ws *WebSocketConnection) Close() error

func (*WebSocketConnection) Dial

func (ws *WebSocketConnection) Dial(ctx context.Context, url *url.URL, origin *url.URL) error

func (*WebSocketConnection) Receive

func (ws *WebSocketConnection) Receive(v *[]byte) error

func (*WebSocketConnection) Send

func (ws *WebSocketConnection) Send(v []byte) error

Jump to

Keyboard shortcuts

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