Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to properly close the connection object #13

Open
Patrikios opened this issue Aug 10, 2022 · 1 comment
Open

How to properly close the connection object #13

Patrikios opened this issue Aug 10, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Patrikios
Copy link

Patrikios commented Aug 10, 2022

Given a connection object like:

con <- configure_imap(url="imaps://outlook.office365.com",
                      username="your_user@company.com",
                      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?

@allanvc
Copy link
Owner

allanvc commented Dec 23, 2022

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 allanvc self-assigned this Dec 23, 2022
@allanvc allanvc added the enhancement New feature or request label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants