File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ go get github.com/dgrr/websocket
12
12
13
13
# Why another WebSocket package?
14
14
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
16
16
and they do not provide low level access to WebSocket packet crafting.
17
17
Those WebSocket packages try to emulate the Golang API by implementing
18
18
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
20
20
by nature (all protocols are (?)).
21
21
22
22
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** :
25
25
26
26
``` go
27
27
type MyWebSocketService struct {
You can’t perform that action at this time.
0 commit comments