You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using natsOptions_SetNKey and my custom callback to extract a NKey seed from a secure storage (e.g. Windows credential manager or KWallet). However, in case I have multiple NATS servers, I don't know with which one I'm trying to 'shake hands', because natsConnection_GetConnectedUrl still returns NULL during my callback.
Would it be possible to make natsConnection_GetConnectedUrl return a value already after receiving INFO, while the handshake is still in progress?
Thanks in advance
The text was updated successfully, but these errors were encountered:
This function, and natsConnection_GetConnectedServerId() would work
only when the connection was fully connected. There is no reason
to not make it work while the connection is reconnecting.
Resolves#635
Signed-off-by: Ivan Kozlovic <[email protected]>
Hi,
I'm using
natsOptions_SetNKey
and my custom callback to extract a NKey seed from a secure storage (e.g. Windows credential manager or KWallet). However, in case I have multiple NATS servers, I don't know with which one I'm trying to 'shake hands', becausenatsConnection_GetConnectedUrl
still returns NULL during my callback.Would it be possible to make
natsConnection_GetConnectedUrl
return a value already after receiving INFO, while the handshake is still in progress?Thanks in advance
The text was updated successfully, but these errors were encountered: