// WithRootFile will create the transport using the given root certificate. It
// will fail if a previous option to create the transport has been configured.
WithRootFile will create the transport using the given root certificate. It
will fail if a previous option to create the transport has been configured.
// WithRootFile will create the transport using the given root certificate . It // will fail if a previous option to create the transport has been configured .
func WithRootFile(filename string) ClientOption {
	return func(o *clientOptions) error {
		if err := o.checkTransport(); err != nil {
			return err
		}
		o.rootFilename = filename
		return nil
	}
}
func WithRootFile ( filename string ) ClientOption { return func ( o * clientOptions ) error { if err := o . checkTransport ( ) ; err != nil { return err } o . rootFilename = filename return nil } }
WithRootFile will create the transport using the given root certificate.
WithRootFile will create the transport using the given root certificate .