mirror of https://github.com/v2ray/v2ray-core
Add Websocket Stream type
parent
2eced2bd6c
commit
0d60d2449a
|
@ -15,9 +15,10 @@ type Reusable interface {
|
||||||
type StreamConnectionType int
|
type StreamConnectionType int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
StreamConnectionTypeRawTCP StreamConnectionType = 1
|
StreamConnectionTypeRawTCP StreamConnectionType = 1
|
||||||
StreamConnectionTypeTCP StreamConnectionType = 2
|
StreamConnectionTypeTCP StreamConnectionType = 2
|
||||||
StreamConnectionTypeKCP StreamConnectionType = 4
|
StreamConnectionTypeKCP StreamConnectionType = 4
|
||||||
|
StreamConnectionTypeWebSocket StreamConnectionType = 8
|
||||||
)
|
)
|
||||||
|
|
||||||
type StreamSecurityType int
|
type StreamSecurityType int
|
||||||
|
|
Loading…
Reference in New Issue