v2ray-core/transport/internet/ws/config.go

18 lines
226 B
Go
Raw Normal View History

2016-08-13 13:44:36 +00:00
package ws
type Config struct {
2016-09-30 14:53:40 +00:00
ConnectionReuse bool
Path string
2016-08-13 13:44:36 +00:00
}
func (this *Config) Apply() {
effectiveConfig = this
}
var (
effectiveConfig = &Config{
ConnectionReuse: true,
Path: "",
}
)