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));
57 #endif // GRPCPP_CREATE_CHANNEL_H