Skip to content
New issue

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

feat: 为client 增加 set httpClient 公有方法 #378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wangbaolong
Copy link
Contributor

@wangbaolong wangbaolong commented Jan 4, 2024

为wechat.ClientV3 新增了一个构造方法,支持自定义xhttp.Client。

@iGoogle-ink
Copy link
Member

@wangbaolong 意义何在?有什么需要特殊配置的参数吗?

@iGoogle-ink
Copy link
Member

如果真的需要,用 client.SetHttpClient() 这样的方法设置吧,不用在New的时候初始化

@wangbaolong
Copy link
Contributor Author

目的是为了能方便设置链路追踪的一些信息

@wangbaolong wangbaolong changed the title refactor: 微信构造cleint增加xhttp.Client参数 feat: 为client 增加 set client 公有方法 Feb 2, 2024
@wangbaolong wangbaolong changed the title feat: 为client 增加 set client 公有方法 feat: 为client 增加 set httpClient 公有方法 Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants