2021-02-02 12:05:47 +01:00
|
|
|
// Package httptransport contains HTTP transport extensions.
|
|
|
|
package httptransport
|
|
|
|
|
|
|
|
import (
|
|
|
|
"crypto/tls"
|
|
|
|
|
2022-01-07 18:33:37 +01:00
|
|
|
"github.com/ooni/probe-cli/v3/internal/model"
|
2021-02-02 12:05:47 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
// Config contains the configuration required for constructing an HTTP transport
|
|
|
|
type Config struct {
|
2022-01-07 18:33:37 +01:00
|
|
|
Dialer model.Dialer
|
|
|
|
QUICDialer model.QUICDialer
|
|
|
|
TLSDialer model.TLSDialer
|
2021-02-02 12:05:47 +01:00
|
|
|
TLSConfig *tls.Config
|
|
|
|
}
|