File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,17 @@ This library is in heavy development.
1414go get nhooyr.io/ws@master
1515```
1616
17+ ## Features
18+
19+ - Full support of the WebSocket protocol
20+ - Simple to use because of the minimal API
21+ - Uses the context package for cancellation
22+ - Uses net/http's Client to do WebSocket dials
23+ - JSON and Protobuf helpers in wsjson and wspb subpackages
24+ - Compression extension is supported
25+ - Highly optimized
26+ - API will be ready for WebSockets over HTTP/2
27+
1728## Example
1829
1930### Server
@@ -85,17 +96,6 @@ func main() {
8596
8697See [ example_test.go] ( example_test.go ) for more examples.
8798
88- ## Features
89-
90- - Full support of the WebSocket protocol
91- - Simple to use because of the minimal API
92- - Uses the context package for cancellation
93- - Uses net/http's Client to do WebSocket dials
94- - JSON and Protobuf helpers in wsjson and wspb subpackages
95- - Compression extension is supported
96- - Highly optimized
97- - API will be ready for WebSockets over HTTP/2
98-
9999## Design considerations
100100
101101- Minimal API is easier to maintain and for others to learn
You can’t perform that action at this time.
0 commit comments