Validate validates the HTTP client configuration.
()
| 326 | |
| 327 | // Validate validates the HTTP client configuration. |
| 328 | func (c *HTTPClientConfiguration) Validate() error { |
| 329 | _, err := c.ValidateWithCerts() |
| 330 | return err |
| 331 | } |
| 332 | |
| 333 | // ValidateWithCerts validates the client configuration and returns the loaded certificates if any. |
| 334 | func (c *HTTPClientConfiguration) ValidateWithCerts() (*HTTPClientCerts, error) { |
no test coverage detected