MCPcopy Index your code
hub / github.com/imroc/req / SetUserAgent

Function SetUserAgent

client_wrapper.go:398–400  ·  view source on GitHub ↗

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

(userAgent string)

Source from the content-addressed store, hash-verified

396// SetUserAgent is a global wrapper methods which delegated
397// to the default client's Client.SetUserAgent.
398func SetUserAgent(userAgent string) *Client {
399 return defaultClient.SetUserAgent(userAgent)
400}
401
402// SetCommonBearerAuthToken is a global wrapper methods which delegated
403// to the default client's Client.SetCommonBearerAuthToken.

Callers

nothing calls this directly

Calls 1

SetUserAgentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…