mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 00:09:57 +00:00
TUN-7125: Add management streaming logs WebSocket protocol
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