Skip to content

RPC server code example? #742

Closed
Closed
@yavin5

Description

@yavin5

protobuf.js version: 6.6.5

Hello. I'm writing a protobuf RPC service, and client code that uses it. I read all through the documentation and examples, and what I am not seeing is: a server-side code example of an RPC server. Could someone show one, or say the reason why you don't believe there should be one shown?

I see example code, with no text near it saying whether it is meant to be a client-side example or a server-side example. Shouldn't you say that by each example? Without it being explicitly labeled, it isn't clear what code is meant to be run where, since Protobuf.js can run in Node and also in a web browser. I have concluded that some of the RPC code examples are meant to be client-side, but I haven't found any examples that are clearly server-side code, so I don't know whether Protobuf.js is meant to implement both sides of the RPC or not. In fact, the documentation doesn't mention that either (shouldn't it?).

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions