Add HTTPS example

This commit is contained in:
Vinnie Falco
2016-10-08 01:30:10 -04:00
parent 076456bdcc
commit 5baaa49aee
9 changed files with 169 additions and 8 deletions
+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