[examples] Create HTTP2 example with http2.golang.org

Intention is to partition the demo into multiple files, so that the
main program is quite easy to follow.
1. connectlib.c: For any URL parsing and TCP connection related stuff
2. sh2lib.c: Convenience functions for HTTP2+TLS. The goal here is to
   expose a simpler API than nghttp2. If most usecases end up being
   served with this library, it could potentially be moved into a separate
   component
This commit is contained in:
Kedar Sovani
2017-09-26 17:32:13 +05:30
parent b65f47c586
commit 3ace8416b5
10 changed files with 1114 additions and 0 deletions
@@ -0,0 +1 @@
COMPONENT_ADD_INCLUDEDIRS := .