Versions in this module Expand all Collapse all v0 v0.1.1 Sep 5, 2023 Changes in this version + const MethodGet0RTT + const Version1 + const Version2 + const VersionDraft29 + var ErrNoCachedConn = errors.New("http3: no cached connection was available") + type FrameType uint64 + type GzipReader struct + Body io.ReadCloser + func (gz *GzipReader) Close() error + func (gz *GzipReader) Read(p []byte) (n int, err error) + type HTTPStreamer interface + HTTPStream func() Stream + type Header struct + Authority string + ContentLength int64 + Headers http.Header + Method string + Path string + Protocol string + Scheme string + Status string + type Hijacker interface + StreamCreator func() StreamCreator + type RoundTripOpt struct + DontCloseRequestStream bool + OnlyCachedConn bool + type RoundTripper struct + AdditionalSettings map[uint64]uint64 + Dial func(ctx context.Context, addr string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlyConnection, error) + EnableDatagrams bool + QuicConfig *quic.Config + StreamHijacker func(FrameType, quic.Connection, quic.Stream, error) (hijacked bool, err error) + UniStreamHijacker func(StreamType, quic.Connection, quic.ReceiveStream, error) (hijacked bool) + func (r *RoundTripper) AddConn(addr string) error + func (r *RoundTripper) Close() error + func (r *RoundTripper) CloseIdleConnections() + func (r *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error) + func (r *RoundTripper) RoundTripOnlyCachedConn(req *http.Request) (*http.Response, error) + func (r *RoundTripper) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Response, error) + type Stream quic.Stream + type StreamCreator interface + ConnectionState func() quic.ConnectionState + Context func() context.Context + LocalAddr func() net.Addr + OpenStream func() (quic.Stream, error) + OpenStreamSync func(context.Context) (quic.Stream, error) + OpenUniStream func() (quic.SendStream, error) + OpenUniStreamSync func(context.Context) (quic.SendStream, error) + RemoteAddr func() net.Addr + type StreamType uint64