package restclient

import (
	"net/http"

	"code.justin.tv/common/alvin/restclient"
)

// RoundTripperFromProtos forwards to the implementation in the
// code.justin.tv/common/alvin repository. It remains here for compatibility.
//
// Deprecated: please use the code.justin.tv/common/alvin/restclient package directly.
func RoundTripperFromProtos(base http.RoundTripper, protoFilenames []string) (http.RoundTripper, error) {
	return restclient.RoundTripperFromProtos(base, protoFilenames)
}
