turso
This commit is contained in:
13
vendor/nhooyr.io/websocket/conn.go
generated
vendored
Normal file
13
vendor/nhooyr.io/websocket/conn.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package websocket
|
||||
|
||||
// MessageType represents the type of a WebSocket message.
|
||||
// See https://tools.ietf.org/html/rfc6455#section-5.6
|
||||
type MessageType int
|
||||
|
||||
// MessageType constants.
|
||||
const (
|
||||
// MessageText is for UTF-8 encoded text messages like JSON.
|
||||
MessageText MessageType = iota + 1
|
||||
// MessageBinary is for binary messages like protobufs.
|
||||
MessageBinary
|
||||
)
|
||||
Reference in New Issue
Block a user