mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
14 lines
247 B
Go
14 lines
247 B
Go
package transport
|
|
|
|
import (
|
|
"github.com/v2fly/v2ray-core/v5/transport/internet"
|
|
)
|
|
|
|
// Apply applies this Config.
|
|
func (c *Config) Apply() error {
|
|
if c == nil {
|
|
return nil
|
|
}
|
|
return internet.ApplyGlobalTransportSettings(c.TransportSettings)
|
|
}
|