ing
This commit is contained in:
parent
86a48a1e2b
commit
2b1a321c81
|
@ -44,6 +44,8 @@ type Socket interface {
|
||||||
// writing the message and closing the writer.
|
// writing the message and closing the writer.
|
||||||
WriteMessage(messageType int, data []byte) error
|
WriteMessage(messageType int, data []byte) error
|
||||||
|
|
||||||
|
WriteMessageUseWriter(messageType int, data []byte) error
|
||||||
|
|
||||||
// SetWriteDeadline sets the write deadline on the underlying network
|
// SetWriteDeadline sets the write deadline on the underlying network
|
||||||
// connection. After a write has timed out, the websocket state is corrupt and
|
// connection. After a write has timed out, the websocket state is corrupt and
|
||||||
// all future writes will return an error. A zero value for t means writes will
|
// all future writes will return an error. A zero value for t means writes will
|
||||||
|
|
Loading…
Reference in New Issue
Block a user