Add HTTPS example

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:12 -07:00
1 parent 62bd4bb13f
commit 2ad5223d80
9 files changed
+169 -8

No files matched your search

+6 -1
View File
@@ -51,7 +51,12 @@ explicit callout ;
install examples
:
[ glob ../examples/*.* ]
[ glob
../examples/*.cpp
../examples/*.hpp
../examples/ssl/*.cpp
../examples/ssl/*.hpp
]
:
<location>$(here)/html/examples
;
+7
View File
@@ -83,6 +83,13 @@ int main()
}
```
[heading HTTPS GET]
This example demonstrates sending and receiving HTTP messages
over a TLS connection. Requires OpenSSL to build.
* [@examples/http_ssl_example.cpp]
[heading HTTP Crawl]
This example retrieves the page at each of the most popular domains