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.
14
14
go get nhooyr.io/ws@master
15
15
```
16
16
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
+
17
28
## Example
18
29
19
30
### Server
@@ -85,17 +96,6 @@ func main() {
85
96
86
97
See [ example_test.go] ( example_test.go ) for more examples.
87
98
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
-
99
99
## Design considerations
100
100
101
101
- Minimal API is easier to maintain and for others to learn
You can’t perform that action at this time.
0 commit comments