MCPcopy Create free account
hub / github.com/3rdparty/libprocess / Connection

Method Connection

include/process/grpc.hpp:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113{
114public:
115 Connection(
116 const std::string& uri,
117 const std::shared_ptr<::grpc::ChannelCredentials>& credentials =
118 ::grpc::InsecureChannelCredentials())
119 : channel(::grpc::CreateChannel(uri, credentials)) {}
120
121 explicit Connection(std::shared_ptr<::grpc::Channel> _channel)
122 : channel(std::move(_channel)) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected