Page 1 of 1

HTTP2 client and server component

Posted: Wed Jun 13, 2018 1:16 pm
by gerardbos
Lately I've written an HTTP2 client and server based on the nghttp2 library for the ESP-IDF environment. Examples and code are available on my github: https://github.com/gerardbos/h2clientserver.

Features:

Client:
  • Uses single task to manage all (open) connections
  • Can keep up to CONFIG_H2CLIENT_CONCURRENT_CONNECTIONS open at the same time
Server:
  • h2 webserver over SSL
  • GET/POST/PUT endpoints
  • Set specific headers per endpoint
  • Handle multiple connections via a single thread

Re: HTTP2 client and server component

Posted: Wed Jun 13, 2018 5:11 pm
by WiFive
Nice, will try it

Re: HTTP2 client and server component

Posted: Tue Jul 03, 2018 11:42 am
by Deouss
I wonder if there is something like Apache server for IDF.
I found quite interesting article about lightweight web servers
https://www.linux.com/news/which-light- ... -right-you

It would be interesting to see anyone try it on esp )