From 587cb68ed4fbed663a72907c4fc09c84c03de102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Thu, 6 Jul 2023 00:07:51 +0100 Subject: [PATCH] chore: rename update ssl method --- src/netius/base/protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/netius/base/protocol.py b/src/netius/base/protocol.py index c9880231..af5986f0 100644 --- a/src/netius/base/protocol.py +++ b/src/netius/base/protocol.py @@ -395,9 +395,9 @@ def send(self, data, delay = True, force = False, callback = None): # explicitly sent through the associated transport return len(data) - def update_ssl(self, callback = None): + def upgrade_ssl(self, callback = None): # ensures that there's a transport defined for the current - # transports as that's required for the upgrade + # protocol, as that's required for the upgrade operation util.verify( not self._transport == None, message = "To upgrade a connection the transport must be defined"