diff --git a/tidevice/requests_usbmux.py b/tidevice/requests_usbmux.py index 90bab72..c3652d0 100644 --- a/tidevice/requests_usbmux.py +++ b/tidevice/requests_usbmux.py @@ -73,6 +73,9 @@ def __init__(self, timeout=60, pool_connections=25, *args, **kwargs): self.pools = urllib3._collections.RecentlyUsedContainer( pool_connections, dispose_func=lambda p: p.close()) + def get_connection_with_tls_context(self, request, verify=False, proxies=None, cert=None): + return self.get_connection(request.url, proxies) + def get_connection(self, url, proxies=None): proxies = proxies or {} proxy = proxies.get(urlparse(url.lower()).scheme)