mRpostman
mRpostman copied to clipboard
How to properly close the connection object
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?
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