good morning!!!!

Skip to content
Snippets Groups Projects
doc.go 770 B
Newer Older
// Package websocket is a minimal and idiomatic implementation of the WebSocket protocol.
Anmol Sethi's avatar
Anmol Sethi committed
//
Anmol Sethi's avatar
Anmol Sethi committed
// See https://tools.ietf.org/html/rfc6455
//
Anmol Sethi's avatar
Anmol Sethi committed
// Conn, Dial, and Accept are the main entrypoints into this package. Use Dial to dial
// a WebSocket server, Accept to accept a WebSocket client dial and then Conn to interact
// with the resulting WebSocket connections.
Anmol Sethi's avatar
Anmol Sethi committed
//
// The examples are the best way to understand how to correctly use the library.
// The wsjson and wspb subpackages contain helpers for JSON and ProtoBuf messages.
Anmol Sethi's avatar
Anmol Sethi committed
//
// Please see https://nhooyr.io/websocket for more overview docs and a
// comparison with existing implementations.
//
// Please be sure to use the https://golang.org/x/xerrors package when inspecting returned errors.
package websocket