forked from quic-go/quic-go
http3: add (deprecated) type aliases for RoundTripper and SingleDestinationRoundTripper (#4699)
This will make transitioning to the new types easier.
This commit is contained in:
@@ -68,6 +68,10 @@ type ClientConn struct {
|
||||
|
||||
var _ http.RoundTripper = &ClientConn{}
|
||||
|
||||
// Deprecated: SingleDestinationRoundTripper was renamed to ClientConn.
|
||||
// It can be obtained by calling NewClientConn on a Transport.
|
||||
type SingleDestinationRoundTripper = ClientConn
|
||||
|
||||
func newClientConn(
|
||||
conn quic.Connection,
|
||||
enableDatagrams bool,
|
||||
|
||||
Reference in New Issue
Block a user