Closed aabolfazl closed 6 months ago
Drogon doesn't support protobuf specially, you could implement this part yourself, particularly, you can implement the fromRequest (or toResponse, etc.) template like:
template <MessageType>
std::shared_ptr<MessageType> fromRequest(const HttpRequest &req);
i am implemented protobuf in websocket mode, and it seems simple to use:
using on web:
web output:
logs of drogon:
I'm finding it cool and really enjoying the performance.
Does the dragon support Google Protobuf? I could not find anything in the code. Can we work on it?