C++ Multiple Services/Single Port

29 views
Skip to first unread message

shak...@gmail.com

unread,
Feb 3, 2017, 6:52:59 PM2/3/17
to grpc.io
Hi, I know this has been brought up before, but it was a while ago and I don't know if the state of things changed. I want to separate out several different types of RPC calls across different services on the same port, and just call RegisterService for each one. Is that possible or is only one service allowed? Does it internally have a type in the packet that it calls the appropriate service functions?

If it's not allowed, is the preferred way of doing this to always have a message ID for every type, and just make a separate "rpc" for each set of service functions in the proto file?
Reply all
Reply to author
Forward
0 new messages