Type categorizes RPCs by unary or streaming type.
Definition in file rpc_type.hpp.
Go to the source code of this file.
This graph shows which files directly or indirectly include this file:Namespaces | |
| namespace | ugrpc |
| Asynchronous gRPC driver. | |
Enumerations | |
| enum class | ugrpc::RpcType { kUnary , kClientStreaming , kServerStreaming , kBidiStreaming } |
| Type categorizes RPCs by unary or streaming type. More... | |
Functions | |
| constexpr bool | ugrpc::IsSingleRequestMethod (RpcType rpc_type) noexcept |
Returns true for RpcType::kUnary and RpcType::kServerStreaming, where the client sends a single request. | |
| constexpr bool | ugrpc::IsSingleResponseMethod (RpcType rpc_type) noexcept |
Returns true for RpcType::kUnary and RpcType::kClientStreaming, where the server sends back a single response. | |