| 103 | #if defined(HAS_SSL) |
| 104 | #if defined(SSL_AXTLS) |
| 105 | void WebSocketsClient::beginSSL(const char * host, uint16_t port, const char * url, const char * fingerprint, const char * protocol) { |
| 106 | begin(host, port, url, protocol); |
| 107 | _client.isSSL = true; |
| 108 | _fingerprint = fingerprint; |
| 109 | _CA_cert = NULL; |
| 110 | } |
| 111 | |
| 112 | void WebSocketsClient::beginSSL(String host, uint16_t port, String url, String fingerprint, String protocol) { |
| 113 | beginSSL(host.c_str(), port, url.c_str(), fingerprint.c_str(), protocol.c_str()); |