0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-04-28 14:21:25 +03:00
Xray-core/transport/config.go

14 lines
245 B
Go
Raw Normal View History

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