An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/gobwas/ws

Package ws implements a client and server for the WebSocket protocol as specified in RFC 6455. The main purpose of this package is to provide simple low-level API for efficient work with protocol. Overview. Upgrade to WebSocket (or WebSocket handshake) can be done in two ways. The first way is to use `net/http` server: The second and much more efficient way is so-called "zero-copy upgrade". It avoids redundant allocations and copying of not used headers or other request data. User decides by himself which data should be copied. For customization details see `ws.Upgrader` documentation. After WebSocket handshake you can work with connection in multiple ways. That is, `ws` does not force the only one way of how to work with WebSocket: As you can see, it stream friendly: Or: For more info see the documentation.

Ecosystem
proxy.golang.org
Latest Release
v1.4.0
almost 2 years ago
Versions
19
Dependent Packages
2,939
Dependent Repos
13,858
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/gobwas/ws
spec
License MIT
Namespace github.com/gobwas
First Release almost 8 years ago
Last Synced about 16 hours ago
Repository
Stars 6,347 on GitHub
Forks 385 on GitHub
Docker Dependents 417
Docker Downloads 1,503,007,562
Commits 293
Committers 23
Avg per Author 12.739
DDS 0.218
Rankings on proxy.golang.org
Overall Top 0.6%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 1.6%
Docker downloads Top 0.3%