Hello,
Im having trouble understanding the PresenceReason when i disconnect a user from our Go-server.
Here is an example:
nk.SessionDisconnect(ctx, presence.Presence.GetSessionId(), 10)
I want to catch the last argument (10) on the client, but i dont think it sends this data.
In my godot client here is where it should be catched:
var code = socket.get_close_code()
var reason = socket.get_close_reason()
print("WebSocket closed with code: %d, reason %s. Clean: %s" %
This always prints code = 0 clean = “”
Anyone know anything about this?