4dc2907472
This diff is part of https://github.com/ooni/probe/issues/1505. You will notice that I have not adapted all the (great) tests we had previously. They should live at another layer, and namely the one that deals with performing measurements. When I'm refactoring such a layer I'll ensure those tests that I have not adapted here are reintroduced into the tree.
11 lines
272 B
Go
11 lines
272 B
Go
package httptransport
|
|
|
|
import (
|
|
"github.com/ooni/probe-cli/v3/internal/netxlite"
|
|
)
|
|
|
|
// NewHTTP3Transport creates a new HTTP3Transport instance.
|
|
func NewHTTP3Transport(config Config) RoundTripper {
|
|
return netxlite.NewHTTP3Transport(config.QUICDialer, config.TLSConfig)
|
|
}
|