How does the golang client simulate access to realtime.proto suchas matchjoin?

I am writing a golang client that can access services in apigrpc/apigrpc.proto through grpc. To access nakama-common/rtapi/realtime.proto should establish a websocket connection? I found that the source code is processed through func (s *sessionWS) Consume() 。

Hey @hexun80149128 yes the messages in realtime.proto are intended by consumed over a websocket.

thanks for reply。So if I use the golang client to simulate, need 2 connections? one is grpcconn and the other is websocket?

@hexun80149128 yep.

thanks for reply。got it