Asynchronous gRPC driver. More...
Namespaces | |
namespace | client |
Client-side utilities. | |
namespace | server |
Server-side utilities. | |
Functions | |
formats::json::Value | MessageToJson (const google::protobuf::Message &message) |
Returns formats::json::Value representation of protobuf message. | |
std::string | ToString (const google::protobuf::Message &message) |
Converts message to human readable string. | |
std::string | ToJsonString (const google::protobuf::Message &message) |
Returns Json-string representation of protobuf message. | |
grpc::StatusCode | StatusCodeFromString (std::string_view str) |
Convert string to grpc::StatusCode. | |
std::string_view | ToString (grpc::StatusCode code) noexcept |
Convert grpc::StatusCode to string. | |
Asynchronous gRPC driver.
formats::json::Value ugrpc::MessageToJson | ( | const google::protobuf::Message & | message | ) |
Returns formats::json::Value representation of protobuf message.
SerializationError |
grpc::StatusCode ugrpc::StatusCodeFromString | ( | std::string_view | str | ) |
Convert string to grpc::StatusCode.
std::runtime_error |
std::string ugrpc::ToJsonString | ( | const google::protobuf::Message & | message | ) |
Returns Json-string representation of protobuf message.
formats::json::ConversionException |