grammes
grammes copied to clipboard
action hangs when auth failed
the code that's not working:
client, err := grammes.DialWithWebSocket("ws://127.0.0.1:8182",grammes.WithTimeout(time.Minute))
vert, avErr := client.AddVertex("user","uid", usr.UID)
When auth is required by the server, AddVertex
would freeze instead of returning an error. And timeout is also not working.
Expect: return auth required error or timeout error.