Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 1.6% forks on proxy.golang.org
Top 0.3% docker downloads on proxy.golang.org
proxy.golang.org : 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.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/gobwas/ws
Keywords:
fast
, go
, golang
, rfc-6455
, websocket
License: MIT
Latest release: about 1 year ago
First release: almost 7 years ago
Namespace: github.com/gobwas
Dependent packages: 2,939
Dependent repositories: 13,858
Stars: 5,059 on GitHub
Forks: 331 on GitHub
Docker dependents: 417
Docker downloads: 1,503,007,562
See more repository details: repos.ecosyste.ms
Last synced: about 17 hours ago