Copyright 2020 Google LLC. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
+build go1.13

package http

import 
clonedTransport returns the given RoundTripper as a cloned *http.Transport. It returns nil if the RoundTripper can't be cloned or coerced to *http.Transport.
func ( http.RoundTripper) *http.Transport {
	,  := .(*http.Transport)
	if ! {
		return nil
	}
	return .Clone()