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

Function SetRedirectPolicy

client_wrapper.go:110–112  ·  view source on GitHub ↗

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

(policies ...RedirectPolicy)

Source from the content-addressed store, hash-verified

108// SetRedirectPolicy is a global wrapper methods which delegated
109// to the default client's Client.SetRedirectPolicy.
110func SetRedirectPolicy(policies ...RedirectPolicy) *Client {
111 return defaultClient.SetRedirectPolicy(policies...)
112}
113
114// DisableKeepAlives is a global wrapper methods which delegated
115// to the default client's Client.DisableKeepAlives.

Callers

nothing calls this directly

Calls 1

SetRedirectPolicyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…