Add a protobuf compiler plugin that generates server-side code
The basic version should generate
- A hub class with server methods, as well as all streaming methods (server-to-client, client-to-server, bidirectional).
- A hub interface containing methods implemented on the client side.
To determine where the method should be implemented - on the client or server side, you should add an option. For an example, see http options, annotations, protobuf docs and their use
In the basic version, the generated code can use DTOs that protoc generates by default.
The advanced use case should allow you to choose the type of models to create to support various SignalR protocols (in order of implementation priority):
- System.Text.Json
- MessagePack
- Newtonsoft.Json
- protobuf.net
Add a protobuf compiler plugin that generates server-side code
The basic version should generate
To determine where the method should be implemented - on the client or server side, you should add an option. For an example, see http options, annotations, protobuf docs and their use
In the basic version, the generated code can use DTOs that
protocgenerates by default.The advanced use case should allow you to choose the type of models to create to support various SignalR protocols (in order of implementation priority):