mirror of https://github.com/gorilla/websocket.git
commit
a3ec486e6a
2
doc.go
2
doc.go
|
@ -24,7 +24,7 @@
|
||||||
// ... Use conn to send and receive messages.
|
// ... Use conn to send and receive messages.
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// Call the connection WriteMessage and ReadMessages methods to send and
|
// Call the connection's WriteMessage and ReadMessage methods to send and
|
||||||
// receive messages as a slice of bytes. This snippet of code shows how to echo
|
// receive messages as a slice of bytes. This snippet of code shows how to echo
|
||||||
// messages using these methods:
|
// messages using these methods:
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue