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

Function SetCommonBasicAuth

client_wrapper.go:410–412  ·  view source on GitHub ↗

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

(username, password string)

Source from the content-addressed store, hash-verified

408// SetCommonBasicAuth is a global wrapper methods which delegated
409// to the default client's Client.SetCommonBasicAuth.
410func SetCommonBasicAuth(username, password string) *Client {
411 return defaultClient.SetCommonBasicAuth(username, password)
412}
413
414// SetCommonDigestAuth is a global wrapper methods which delegated
415// to the default client's Client.SetCommonDigestAuth.

Callers

nothing calls this directly

Calls 1

SetCommonBasicAuthMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…