Skip to content

Commit 34822e0

Browse files
committed
Reorder headings in README.md
1 parent bddc506 commit 34822e0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ This library is in heavy development.
1414
go 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

8697
See [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

0 commit comments

Comments
 (0)