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

支持http2请求吗, #113

Closed
pigping88 opened this issue May 23, 2023 · 4 comments
Closed

支持http2请求吗, #113

pigping88 opened this issue May 23, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@pigping88
Copy link

支持http2请求吗,目前服务端nginx开启了http2,浏览访问看了下,采用了http2协议,你这个如果拿来做微信小程序,是否支持开启http2,微信有个自带的属性,wx.request(),有个enable Http2属性是否开启http2协议,你这个能否对接http2

@lei-mu
Copy link
Owner

lei-mu commented May 25, 2023

会尽快支持

@lei-mu lei-mu added the enhancement New feature or request label May 25, 2023
@lei-mu lei-mu closed this as completed in 68344a1 May 25, 2023
@lei-mu
Copy link
Owner

lei-mu commented May 25, 2023

你用的npm 还是啥? npm 包会延迟发,估计明天了

@pigping88
Copy link
Author

我自己改了源码,微信小程序是可以了,app,目前好像不行,因为微信小程序自己处理过网络请求,app,默认是没有http2支持,估计要换webview,手机默认的可能不支持,目前华为的是不行,不知道腾讯x5是否支持app的http2请求

@lei-mu
Copy link
Owner

lei-mu commented Jun 12, 2023

改源码,后期升级可能无法使用。使用最新版本就可以了。

uni http2 支持还是得看uni.
https://ask.dcloud.net.cn/question/167606
https://ask.dcloud.net.cn/question/80958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants