-
Notifications
You must be signed in to change notification settings - Fork 7.6k
HTTP 2 support to WiFiClientSecure #1130
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
Comments
HTTP/2 is not really a drop in replacement for HTTP/1. It is unlikely that WFCS can really support it without significant structural changes. The esp-idf has included nghttp2 (https://github.com/espressif/esp-idf/tree/master/components/nghttp), and you can access those api's within Arduino IDE. They are C bindings, and so you won't have nice object classes. If you want to make a library to provide those, the community would certainly appreciate it. |
Hi, I've been putting together a couple of tutorials about HTTP/2 on the ESP32 using the Arduino core and an IDF wrapper called sh2lib. Please note that these are based on experiences I've been making and that I though might be useful for the community, I'm no expert on HTTP/2 :) As @lbernstone mentioned, it doesn't have nice object classes, but this sh2lib wrapper removes a lot of the NGHTTP2 complexity and helps getting started with the basics much faster. Not sure if this is exactly what you are looking for, but maybe it can give you some help getting started: Install sh2lib wrapper (video): Basic operations: More advanced tutorials Also, for reference, here is the link for IDF's HTTP/2 tutorial: Hope this helps :) Best regards, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hi!
I'm trying to use the WiFiClientSecure to post a request using HTTP 2, but I guess the underlying http client doesn't support this new standard
got: "HTTP/2 client preface string missing or corrupt"
Do you know if it's possibile to get this for our esp32?
Thank you in advance
The text was updated successfully, but these errors were encountered: