Skip to content

Is there an option to close a connection following use? #122

@timwilliate

Description

@timwilliate

After successfully making GET requests to a private API, I noticed the following text at the end of the (verbose) output:

Connection #0 to host {host_name} left intact

I can see from the httr documentation that by default, connections are left open and then reused. Is there a method which can be used to explicitly close all open connections? I would like to perform such an operation after executing a series of GET requests in order to ensure that no http connections are left open on the server.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions