diff --git a/transport/internet/connection.go b/transport/internet/connection.go index 61435cbdf..a5ce7c2da 100644 --- a/transport/internet/connection.go +++ b/transport/internet/connection.go @@ -15,9 +15,10 @@ type Reusable interface { type StreamConnectionType int const ( - StreamConnectionTypeRawTCP StreamConnectionType = 1 - StreamConnectionTypeTCP StreamConnectionType = 2 - StreamConnectionTypeKCP StreamConnectionType = 4 + StreamConnectionTypeRawTCP StreamConnectionType = 1 + StreamConnectionTypeTCP StreamConnectionType = 2 + StreamConnectionTypeKCP StreamConnectionType = 4 + StreamConnectionTypeWebSocket StreamConnectionType = 8 ) type StreamSecurityType int