mRpostman icon indicating copy to clipboard operation
mRpostman copied to clipboard

How to properly close the connection object

Open Patrikios opened this issue 2 years ago • 1 comments

Given a connection object like:

con <- configure_imap(url="imaps://outlook.office365.com",
                      username="[email protected]",
                      password=rstudioapi::askForPassword()
)

how do yuo properly close it? There seems to be no R6 method nor a function to close a connection, is it?

Patrikios avatar Aug 10 '22 20:08 Patrikios

Sorry for my long delay. This is not implemented. curl automatically closes the connection after the defined timeout. But I agree we should have a proper way to close the connection right away. I will work on this. Thanks, Allan

allanvc avatar Dec 23 '22 06:12 allanvc