forked from quic-go/quic-go
Merge pull request #3208 from folbricht/issue-3197
Update doc for dialer in http3.RoundTripper
This commit is contained in:
@@ -48,7 +48,7 @@ type RoundTripper struct {
|
|||||||
|
|
||||||
// Dial specifies an optional dial function for creating QUIC
|
// Dial specifies an optional dial function for creating QUIC
|
||||||
// connections for requests.
|
// connections for requests.
|
||||||
// If Dial is nil, quic.DialAddr will be used.
|
// If Dial is nil, quic.DialAddrEarly will be used.
|
||||||
Dial func(network, addr string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlySession, error)
|
Dial func(network, addr string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlySession, error)
|
||||||
|
|
||||||
// MaxResponseHeaderBytes specifies a limit on how many response bytes are
|
// MaxResponseHeaderBytes specifies a limit on how many response bytes are
|
||||||
|
|||||||
Reference in New Issue
Block a user