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

小程序WxMaServiceImpl能否提供多种http框架实现方式 #571

Closed
Yuhuiyang-Dev opened this issue May 3, 2018 · 4 comments
Closed

Comments

@Yuhuiyang-Dev
Copy link

小程序WxMaServiceImpl能否提供多种http框架实现方式。
提供跟公众号一样提供 WxMpServiceBaseImpl 抽象实现,让别可以扩展具体的实现,比如WxMpServiceOkHttpImpl

@owenwong
Copy link

我也觉得应该这样,有好几个用户遇到类似情况了吧,让出现此问题的用户单独去配置超时时间或者其他使用其他解决方案,感觉不是很好。

@gumutianqi
Copy link

HTTP 推荐使用 OkHttp 实现,Okio 也是非常好的 input 和 output 处理工具类

@myoss
Copy link

myoss commented Jan 24, 2019

能否重构下代码,实现 BaseWxMpServiceImpl 类似的功能,需要使用 OkHttp,多谢 @binarywang

@binarywang
Copy link
Member

3.8.2.B版本已支持,欢迎试用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants