Add Websocket Stream type

pull/238/head
Shelikhoo 2016-08-13 21:41:13 +08:00
parent 2eced2bd6c
commit 0d60d2449a
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21
1 changed files with 4 additions and 3 deletions

View File

@ -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