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
Backend sessions
Backend sessions have access to the sessions through the handler’s methods, but they have some limitations and special characteristics. Changes to session variables must be pushed to the frontend server by calling s.PushToFront (this is not needed for s.Bind operations), setting callbacks to session lifecycle operations is also not allowed. One can also not retrieve a session by user ID from a backend server.
In the examples/demo/cluster_grpc/services/room.go
room is a backend servers, Pitaya Doc
In the
examples/demo/cluster_grpc/services/room.go
s.OnClose
This will cause an error.{"code":"PIT-000","msg":"onclose callbacks are not allowed on backend servers"}
The text was updated successfully, but these errors were encountered: