github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/config.go (about)

     1  package transport
     2  
     3  import (
     4  	"v2ray.com/core/transport/internet"
     5  )
     6  
     7  // Apply applies this Config.
     8  func (c *Config) Apply() error {
     9  	if c == nil {
    10  		return nil
    11  	}
    12  	return internet.ApplyGlobalTransportSettings(c.TransportSettings)
    13  }