EnableInsecureSkipVerify enable send https without verifying the server's certificates (disabled by default).
()
| 410 | // EnableInsecureSkipVerify enable send https without verifying |
| 411 | // the server's certificates (disabled by default). |
| 412 | func (c *Client) EnableInsecureSkipVerify() *Client { |
| 413 | c.GetTLSClientConfig().InsecureSkipVerify = true |
| 414 | return c |
| 415 | } |
| 416 | |
| 417 | // DisableInsecureSkipVerify disable send https without verifying |
| 418 | // the server's certificates (disabled by default). |