|
|
|
@ -35,9 +35,9 @@ namespace grpc_impl { |
|
|
|
|
/// \param creds Credentials to use for the created channel. If it does not
|
|
|
|
|
/// hold an object or is invalid, a lame channel (one on which all operations
|
|
|
|
|
/// fail) is returned.
|
|
|
|
|
std::shared_ptr<grpc::Channel> CreateChannelImpl( |
|
|
|
|
std::shared_ptr<::grpc::Channel> CreateChannelImpl( |
|
|
|
|
const grpc::string& target, |
|
|
|
|
const std::shared_ptr<grpc::ChannelCredentials>& creds); |
|
|
|
|
const std::shared_ptr<::grpc::ChannelCredentials>& creds); |
|
|
|
|
|
|
|
|
|
/// Create a new \em custom \a Channel pointing to \a target.
|
|
|
|
|
///
|
|
|
|
@ -49,10 +49,10 @@ std::shared_ptr<grpc::Channel> CreateChannelImpl( |
|
|
|
|
/// hold an object or is invalid, a lame channel (one on which all operations
|
|
|
|
|
/// fail) is returned.
|
|
|
|
|
/// \param args Options for channel creation.
|
|
|
|
|
std::shared_ptr<grpc::Channel> CreateCustomChannelImpl( |
|
|
|
|
std::shared_ptr<::grpc::Channel> CreateCustomChannelImpl( |
|
|
|
|
const grpc::string& target, |
|
|
|
|
const std::shared_ptr<grpc::ChannelCredentials>& creds, |
|
|
|
|
const grpc::ChannelArguments& args); |
|
|
|
|
const std::shared_ptr<::grpc::ChannelCredentials>& creds, |
|
|
|
|
const ::grpc::ChannelArguments& args); |
|
|
|
|
|
|
|
|
|
namespace experimental { |
|
|
|
|
/// Create a new \em custom \a Channel pointing to \a target with \a
|
|
|
|
@ -66,10 +66,10 @@ namespace experimental { |
|
|
|
|
/// hold an object or is invalid, a lame channel (one on which all operations
|
|
|
|
|
/// fail) is returned.
|
|
|
|
|
/// \param args Options for channel creation.
|
|
|
|
|
std::shared_ptr<grpc::Channel> CreateCustomChannelWithInterceptors( |
|
|
|
|
std::shared_ptr<::grpc::Channel> CreateCustomChannelWithInterceptors( |
|
|
|
|
const grpc::string& target, |
|
|
|
|
const std::shared_ptr<grpc::ChannelCredentials>& creds, |
|
|
|
|
const grpc::ChannelArguments& args, |
|
|
|
|
const ::grpc::ChannelArguments& args, |
|
|
|
|
std::vector< |
|
|
|
|
std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>> |
|
|
|
|
interceptor_creators); |
|
|
|
|