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
type serverImp struct{}
func (s *serverImp) Messsage(ctx context.Context, stream ServerTest.MesssageStream) error {
for {
msg, err := stream.RecvMessage() // block if no message
err = stream.SendMessage("hello") // block if no message
}
}
The text was updated successfully, but these errors were encountered:
Draft1: Support streaming api like this: https://grpc.io/docs/languages/go/basics/#server-side-streaming-rpc。
proto.tars:
Client:
Server Start:
Server Implement:
The text was updated successfully, but these errors were encountered: