Skip to content

Commit 6863a79

Browse files
committed
Merge branch 'master' of github.com:dgrr/websocket into master
2 parents 2f33cbf + d2d2cbb commit 6863a79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ go get github.com/dgrr/websocket
1212

1313
# Why another WebSocket package?
1414

15-
Other WebSocket packages don't allow concurrent Read/Write operations on servers
15+
**Other WebSocket packages DON'T** allow concurrent Read/Write operations on servers
1616
and they do not provide low level access to WebSocket packet crafting.
1717
Those WebSocket packages try to emulate the Golang API by implementing
1818
io.Reader and io.Writer interfaces on their connections. io.Writer might be a
19-
good idea to use it, but not io.Reader, given that WebSocket is an async protocol
19+
good idea to use it, but no io.Reader, given that WebSocket is an async protocol
2020
by nature (all protocols are (?)).
2121

2222
Sometimes, WebSocket servers are just cumbersome when we want to handle a lot of
23-
clients in an async manner. For example, in other WebSocket packages to broadcast
24-
a message generated internally we'll need to do the following:
23+
clients in an async manner. For example, **in other WebSocket packages to broadcast
24+
a message generated internally we'll need to do the following**:
2525

2626
```go
2727
type MyWebSocketService struct {

0 commit comments

Comments
 (0)