|
TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
|
Generic gRPC parameters. More...
Go to the source code of this file.
Classes | |
| struct | tec::GrpcHealthCheckBuilder |
| Declare the gRPC health check service builder. More... | |
| struct | tec::GrpcReflectionBuilder |
| Declare the gRPC reflection service builder. More... | |
| struct | tec::GrpcServerParams |
| Configuration parameters for gRPC server instances. More... | |
| struct | tec::GrpcClientParams |
| Configuration parameters for gRPC client instances. More... | |
Functions | |
| template<typename TClientContext > | |
| std::string | tec::get_server_metadata (const TClientContext &ctx, const std::string &key) |
| Get server's metadata on the client side. | |
| template<typename TClientContext > | |
| void | tec::add_client_metadata (TClientContext &ctx, const std::string &key, const std::string &data) |
| Put client's metadata on the client side. | |
| template<typename TServerContext > | |
| std::string | tec::get_client_metadata (const TServerContext *pctx, const std::string &key) |
| Get client's metadata on the server side. | |
| template<typename TServerContext > | |
| void | tec::add_server_medadata (TServerContext *pctx, const std::string &key, const std::string &data) |
| Put server's metadata on the server side. | |
Generic gRPC parameters.
gRPC server/client parameters declaration.
|
inline |
Put client's metadata on the client side.
| TClientContext | gRPC ClientContext. |
|
inline |
Put server's metadata on the server side.
| TServerContext | gRPC ServerContext. |
|
inline |
Get client's metadata on the server side.
| TServerContext | gRPC ServerContext. |
|
inline |
Get server's metadata on the client side.
| TClientContext | gRPC ClientContext. |