IEventStoreConnection usage

Hi

I assume the IEventStoreConnection is not meant for usage in a web request context? Where you would have to open and close the connection often…

Thanks.

You can use a connection per request but I would recommend keeping one
open for a longer period of time

But do you recommend using the http api in this case instead?

or a longer living connection

Thank you for the quick replies.