Xray-core/transport/config.go

14 lines
242 B
Go
Raw Normal View History

2020-11-25 14:01:53 +03:00
package transport
import (
2020-12-04 04:36:16 +03:00
"github.com/xtls/xray-core/transport/internet"
2020-11-25 14:01:53 +03:00
)
// Apply applies this Config.
func (c *Config) Apply() error {
if c == nil {
return nil
}
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
}