Register ws network

pull/238/head
Shelikhoo 2016-08-13 21:32:47 +08:00
parent 86490e884c
commit cb1356be75
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ const (
// KCPNetwork represents the KCP network. // KCPNetwork represents the KCP network.
KCPNetwork = Network("kcp") KCPNetwork = Network("kcp")
// WSNetwork represents the Websocket over HTTP network.
WSNetwork = Network("ws")
) )
// Network represents a communication network on internet. // Network represents a communication network on internet.