MCPcopy Create free account
hub / github.com/imroc/req / DisableInsecureSkipVerify

Method DisableInsecureSkipVerify

client.go:419–422  ·  view source on GitHub ↗

DisableInsecureSkipVerify disable send https without verifying the server's certificates (disabled by default).

()

Source from the content-addressed store, hash-verified

417// DisableInsecureSkipVerify disable send https without verifying
418// the server's certificates (disabled by default).
419func (c *Client) DisableInsecureSkipVerify() *Client {
420 c.GetTLSClientConfig().InsecureSkipVerify = false
421 return c
422}
423
424// SetCommonQueryParams set URL query parameters with a map
425// for requests fired from the client.

Callers 2

TestInsecureSkipVerifyFunction · 0.80

Calls 1

GetTLSClientConfigMethod · 0.95

Tested by 1

TestInsecureSkipVerifyFunction · 0.64