Registry / networking / sagernet-websocket

sagernet-websocket

JSON →
library0.0.0-20230408031047-747f09585739gogounverified

Go implementation of the WebSocket protocol (RFC 6455) with per-message compression support.

go get github.com/sagernet/websocket
INSTALL
IMPORT
SIG · SAGERNET-WEBSOCKET
S
sagernet-websocket
networkinggov0.0.0-20230408031047-747f09585739
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

websocket
github.com/sagernet/websocket

Basic usage of the WebSocket dialer.

package main import ( "fmt" "github.com/sagernet/websocket" ) func main() { u := websocket.Dialer{} fmt.Println(u) }
Debug
Known issues
gotchaCompression support is experimental and may decrease performance.
fix
Disable compression unless specifically needed; set EnableCompression to false.
affects: all
Upgrade
Version history
0.0.0-20230408031047-747f09585739latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
sagernet-websocket — go get sagernet-websocket · libregistry