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

Function AddRetryHook

request_wrapper.go:497–499  ·  view source on GitHub ↗

AddRetryHook is a global wrapper methods which delegated to the default client, create a request and AddRetryHook for request.

(hook RetryHookFunc)

Source from the content-addressed store, hash-verified

495// AddRetryHook is a global wrapper methods which delegated
496// to the default client, create a request and AddRetryHook for request.
497func AddRetryHook(hook RetryHookFunc) *Request {
498 return defaultClient.R().AddRetryHook(hook)
499}
500
501// SetRetryCondition is a global wrapper methods which delegated
502// to the default client, create a request and SetRetryCondition for request.

Callers

nothing calls this directly

Calls 2

AddRetryHookMethod · 0.80
RMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…