forked from quic-go/quic-go
http3: improve the client API (#4693)
* http3: rename RoundTripper to Transport * http3: rename SingleDestinationRoundTripper to ClientConn * http3: construct the ClientConn via Transport.NewClientConn
This commit is contained in:
@@ -40,7 +40,7 @@ func main() {
|
||||
}
|
||||
testdata.AddRootCA(pool)
|
||||
|
||||
roundTripper := &http3.RoundTripper{
|
||||
roundTripper := &http3.Transport{
|
||||
TLSClientConfig: &tls.Config{
|
||||
RootCAs: pool,
|
||||
InsecureSkipVerify: *insecure,
|
||||
|
||||
Reference in New Issue
Block a user