Description

DialTLS specifies an optional dial function for creating TLS connections for requests.

If DialTLS is nil, tls.Dial is used.

If the returned net.Conn has a ConnectionState method like tls.Conn, it will be used to set http.Response.TLS.

DialTLS is referenced in 0 repositories