3ace8416b5
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
6 lines
146 B
Markdown
6 lines
146 B
Markdown
# HTTP/2 Request Example
|
|
|
|
Established HTTP/2 connection with https://http2.golang.org
|
|
- Performs a GET on /clockstream
|
|
- Performs a PUT on /ECHO
|
|
|