SetTLSClientConfig sets tls connection configurations if visiting https url.
(config *tls.Config)
| 152 | |
| 153 | // SetTLSClientConfig sets tls connection configurations if visiting https url. |
| 154 | func (r *Request) SetTLSClientConfig(config *tls.Config) *Request { |
| 155 | r.setting.TLSClientConfig = config |
| 156 | return r |
| 157 | } |
| 158 | |
| 159 | // SetCheckRedirect sets the policy invoked by the underlying HTTP client before |
| 160 | // following a redirect. See http.Client.CheckRedirect for semantics. |
no outgoing calls
no test coverage detected