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
Had a quick look through the docs and tests and didn't see any mention of the proper way to close a IWampChannel.
Reason I ask is that there are two methods IWampChannel.Close() and IWampChannel.Close(string, string), which are a bit ambiguous without checking the comments and implementation.
From what I gather IWampChannel.Close() is like a Dispose() call and just closes the underlying connection, effectively having the same effect as negotiating a GOODBYE with the router.
Whereas, IWampChannel.Close(string, string) negotiates a GOODBYE with the router but leaves the underlying connection open?
So if the IWampChannel isn't going to be re-used is IWampChannel.Close() the recommended approach?