summaryrefslogtreecommitdiff
path: root/core/io/http_client.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-09-07 08:25:47 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-09-08 03:24:23 +0200
commita95d7924204c26b5ff64a82c24579a8cdf58dac2 (patch)
tree2145a843f8382a6da1689382f2a0c77125a89aec /core/io/http_client.h
parentfffdbb38e390a11d0dc0672ce1755148deee3e90 (diff)
[Net] Rename "ssl" references to "tls" in methods and members.
Diffstat (limited to 'core/io/http_client.h')
-rw-r--r--core/io/http_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/http_client.h b/core/io/http_client.h
index de6045f647..0524b010f4 100644
--- a/core/io/http_client.h
+++ b/core/io/http_client.h
@@ -138,7 +138,7 @@ public:
STATUS_REQUESTING, // Request in progress
STATUS_BODY, // Request resulted in body, which must be read
STATUS_CONNECTION_ERROR,
- STATUS_SSL_HANDSHAKE_ERROR,
+ STATUS_TLS_HANDSHAKE_ERROR,
};
@@ -168,7 +168,7 @@ public:
Error verify_headers(const Vector<String> &p_headers);
virtual Error request(Method p_method, const String &p_url, const Vector<String> &p_headers, const uint8_t *p_body, int p_body_size) = 0;
- virtual Error connect_to_host(const String &p_host, int p_port = -1, bool p_ssl = false, bool p_verify_host = true) = 0;
+ virtual Error connect_to_host(const String &p_host, int p_port = -1, bool p_tls = false, bool p_verify_host = true) = 0;
virtual void set_connection(const Ref<StreamPeer> &p_connection) = 0;
virtual Ref<StreamPeer> get_connection() const = 0;