SetCerts set client certificates.
(certs ...tls.Certificate)
| 281 | |
| 282 | // SetCerts set client certificates. |
| 283 | func (c *Client) SetCerts(certs ...tls.Certificate) *Client { |
| 284 | config := c.GetTLSClientConfig() |
| 285 | config.Certificates = append(config.Certificates, certs...) |
| 286 | return c |
| 287 | } |
| 288 | |
| 289 | func (c *Client) appendRootCertData(data []byte) { |
| 290 | config := c.GetTLSClientConfig() |