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

Function SetRootCertsFromFile

client_wrapper.go:98–100  ·  view source on GitHub ↗

SetRootCertsFromFile is a global wrapper methods which delegated to the default client's Client.SetRootCertsFromFile.

(pemFiles ...string)

Source from the content-addressed store, hash-verified

96// SetRootCertsFromFile is a global wrapper methods which delegated
97// to the default client's Client.SetRootCertsFromFile.
98func SetRootCertsFromFile(pemFiles ...string) *Client {
99 return defaultClient.SetRootCertsFromFile(pemFiles...)
100}
101
102// GetTLSClientConfig is a global wrapper methods which delegated
103// to the default client's Client.GetTLSClientConfig.

Callers

nothing calls this directly

Calls 1

SetRootCertsFromFileMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…