verify ssl certificate fingerprint

This commit is contained in:
Chris Hinze
2015-12-24 04:47:11 +01:00
parent 24eb13cf44
commit 73680279f5
3 changed files with 22 additions and 0 deletions

View File

@ -42,6 +42,8 @@ class WebSocketsClient: private WebSockets {
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
void beginSSL(const char *host, uint16_t port, const char * url = "/");
void beginSSL(String host, uint16_t port, String url = "/");
void beginSSL(const char *host, uint16_t port, const char * url, const char * fingerprint);
void beginSSL(String host, uint16_t port, String url, const char * fingerprint);
#endif
void loop(void);