You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Dialer struct {
// Dial specifies the dial function for creating TCP
// connections. If Dial is nil, net.Dial is used.
Dial func(network, addr string) (net.Conn, error)
// TLSClientConfig specifies the TLS configuration to use with
// tls.Client. If nil, the default configuration is used.
TLSClientConfig *tls.Config
// HandshakeTimeout specifies the duration for the handshake
// to complete.
HandshakeTimeout time.Duration
// Input and output buffer sizes. If the buffer size is zero, then a default value
// of 4096 is used.
ReadBufferSize, WriteBufferSize int
]
func (d *Dialer) Dial(u *url.URL, requestHeader http.Header) (c *Conn, response *http.Response, err error)
The text was updated successfully, but these errors were encountered:
Add Dialer type for creating client connections:
The text was updated successfully, but these errors were encountered: