Commit Graph

3 Commits

Author SHA1 Message Date
Aditya Patwardhan
0b7ed763e4 http2_request_example: Change the target http2 server to http2.github.io and perform only a GET request 2022-01-21 13:11:48 +05:30
Aditya Patwardhan
045b38857d http2_request/sh2lib: Modified the "sh2lib_connect" API to take in a new
defined `struct sh2lib_config_t` which contains required config options.

Modified the http2_request_example with the required changes.
2022-01-21 09:39:34 +05:30
Kedar Sovani
3ace8416b5 [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
2017-11-06 09:43:03 +05:30