mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-20 15:08:37 +03:00
v1.0.0
This commit is contained in:
13
transport/config.go
Normal file
13
transport/config.go
Normal file
@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user