HTTP2 client and server component

gerardbos
Posts: 1
Joined: Wed Jun 13, 2018 1:06 pm

HTTP2 client and server component

Postby gerardbos » Wed Jun 13, 2018 1:16 pm

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

WiFive
Posts: 2088
Joined: Tue Dec 01, 2015 7:35 am

Re: HTTP2 client and server component

Postby WiFive » Wed Jun 13, 2018 5:11 pm

Nice, will try it

Deouss
Posts: 289
Joined: Tue Mar 20, 2018 11:36 am

Re: HTTP2 client and server component

Postby Deouss » Tue Jul 03, 2018 11:42 am

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 )

Return to “Showcase”

Who is online

Users browsing this forum: No registered users and 2 guests