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

Function SetRootCertFromString

client_wrapper.go:92–94  ·  view source on GitHub ↗

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

(pemContent string)

Source from the content-addressed store, hash-verified

90// SetRootCertFromString is a global wrapper methods which delegated
91// to the default client's Client.SetRootCertFromString.
92func SetRootCertFromString(pemContent string) *Client {
93 return defaultClient.SetRootCertFromString(pemContent)
94}
95
96// SetRootCertsFromFile is a global wrapper methods which delegated
97// to the default client's Client.SetRootCertsFromFile.

Callers

nothing calls this directly

Calls 1

SetRootCertFromStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…