h3roundtripper

package
v3.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type H3RTHelper

type H3RTHelper struct {
	Logger     *zap.Logger
	TLSConfig  *tls.Config
	QUICConfig *quic.Config
	DialFunc   func(ctx context.Context, network, addr string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlyConnection, error)
	// contains filtered or unexported fields
}

H3RTHelper is a helper of original http3.RoundTripper. This is a workaround of https://github.com/lucas-clemente/quic-go/issues/765

func (*H3RTHelper) RoundTrip

func (h *H3RTHelper) RoundTrip(request *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL