We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如下的代码中使用了硬编码的http.Client,能否使其允许调用方可以传递自定义的http.Client?
func (c JDCloudClient) doSend(method, url, data string, header map[string]string, timeout time.Duration, sign SignFunc) ([]byte, error) { client := &http.Client{Timeout: timeout} req, err := http.NewRequest(method, url, strings.NewReader(data)) // ... }
The text was updated successfully, but these errors were encountered:
目前是不支持的,您的具体需求是什么,或者遇到什么问题,我们可以考虑支持一下
Sorry, something went wrong.
No branches or pull requests
如下的代码中使用了硬编码的http.Client,能否使其允许调用方可以传递自定义的http.Client?
The text was updated successfully, but these errors were encountered: