docs(capi): output the hyper_version in the capi examples (#2623)

This commit is contained in:
Sean McArthur
2021-08-18 10:29:20 -07:00
committed by GitHub
parent 684f2fa76d
commit c35153998e
2 changed files with 10 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ int main(int argc, char *argv[]) {
hyper_io_set_read(io, read_cb);
hyper_io_set_write(io, write_cb);
printf("http handshake ...\n");
printf("http handshake (hyper v%s) ...\n", hyper_version());
// We need an executor generally to poll futures
const hyper_executor *exec = hyper_executor_new();