19 #ifndef GRPCPP_CREATE_CHANNEL_H
20 #define GRPCPP_CREATE_CHANNEL_H
27 static inline std::shared_ptr<::grpc::Channel> CreateChannel(
29 const std::shared_ptr<ChannelCredentials>& creds) {
33 static inline std::shared_ptr<::grpc::Channel> CreateCustomChannel(
35 const std::shared_ptr<ChannelCredentials>& creds,
40 namespace experimental {
42 static inline std::shared_ptr<::grpc::Channel>
43 CreateCustomChannelWithInterceptors(
45 const std::shared_ptr<ChannelCredentials>& creds,
48 std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>
49 interceptor_creators) {
50 return ::grpc_impl::experimental::CreateCustomChannelWithInterceptors(
51 target, creds, args, std::move(interceptor_creators));
std::shared_ptr<::grpc::Channel > CreateCustomChannelImpl(const grpc::string &target, const std::shared_ptr<::grpc::ChannelCredentials > &creds, const ::grpc::ChannelArguments &args)
Create a new custom Channel pointing to target.
std::shared_ptr<::grpc::Channel > CreateChannelImpl(const grpc::string &target, const std::shared_ptr<::grpc::ChannelCredentials > &creds)
Create a new Channel pointing to target.
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
::grpc_impl::ChannelArguments ChannelArguments
Definition: channel_arguments.h:32
std::string string
Definition: config.h:35