Library providing HTTP and HTTPS communications.
Dependencies: CyaSSL
Dependents: MTS-Socket MTS-Socket
Diff: HTTPClient.h
- Revision:
- 42:2f464f96c204
- Parent:
- 39:d7c5541a9124
- Child:
- 43:a11d8ee0380b
--- a/HTTPClient.h Fri Jan 23 20:42:31 2015 +0000 +++ b/HTTPClient.h Mon Feb 09 21:37:04 2015 +0000 @@ -35,7 +35,8 @@ ///SSL peer verification setting enum SSLMethod { VERIFY_NONE = 0, ///Don't check peer certificate - VERIFY_PEER = 1, ///Check peer certificate and skip if none available (insecure) + VERIFY_PEER = 1, ///Client:Check peer certificate, Server:Check peer certificate and skip if no certificate received + VERIFY_FAIL_IF_NO_PEER_CERT = 2, ///Client:Check peer certificate, Server:Check peer certificate and fail if none found }; ///HTTP client results