Skip to content

Commit

Permalink
chore: rename update ssl method
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jul 5, 2023
1 parent f906bef commit 587cb68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netius/base/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 587cb68

Please sign in to comment.