Closed embano1 closed 2 years ago
@embano1 I suspect maybe this issue was opened in the wrong repo? This repos is used mostly by OSPO, and I don't think the NSX API folks will find it here.
Sorry, and I have absolutely no idea how this happened as I was filing several issues in the nsxt repo. So not sure why this specific one landed here?
Is your feature request related to a problem? Please describe.
Currently I don‘t see a way in the NSX API Client to keep the session alive after creating the client. My current workaround is to periodically lock the client via custom mutex in a struct, perform a call to
GetDefaultHeaders
and unlock the client.Describe the solution you'd like
Automatic keep-alive of the session after initial setup of the NSX API client.
Describe alternatives you've considered
Do it myself as described above (error-prone, not user friendly IMHO).
Additional context
No response