Xray-core/transport/config.go
2020-12-04 09:36:16 +08:00

14 lines
242 B
Go

package transport
import (
"github.com/xtls/xray-core/transport/internet"
)
// Apply applies this Config.
func (c *Config) Apply() error {
if c == nil {
return nil
}
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
}