A copyable interface to manage a connection to a gRPC server.
More...
#include <grpc.hpp>
|
| Channel (const std::string &uri, const std::shared_ptr<::grpc::ChannelCredentials > &credentials=::grpc::InsecureChannelCredentials()) |
|
A copyable interface to manage a connection to a gRPC server.
All Channel
copies share the same connection. Note that the connection is established lazily by the gRPC runtime library: the actual connection is delayed till an RPC call is made.
process::grpc::Channel::Channel |
( |
const std::string & |
uri, |
|
|
const std::shared_ptr<::grpc::ChannelCredentials > & |
credentials = ::grpc::InsecureChannelCredentials() |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- 3rdparty/libprocess/include/process/grpc.hpp