OptionInsecure returns a ClientOption that controls whether HTTP requests are allowed to be insecure (over HTTP or HTTPS without TLS certificate checking). Use of this is strongly discouraged except for local testing.
(v bool)
| 369 | // certificate checking). Use of this is strongly discouraged except |
| 370 | // for local testing. |
| 371 | func OptionInsecure(v bool) ClientOption { |
| 372 | return optionInsecure(v) |
| 373 | } |
| 374 | |
| 375 | type optionInsecure bool |
| 376 |
no test coverage detected