19 #ifndef GRPCPP_CREATE_CHANNEL_POSIX_H
20 #define GRPCPP_CREATE_CHANNEL_POSIX_H
31 #ifdef GPR_SUPPORT_CHANNELS_FROM_FD
37 std::shared_ptr<grpc::Channel> CreateInsecureChannelFromFd(
38 const std::string& target,
int fd);
46 std::shared_ptr<grpc::Channel> CreateCustomInsecureChannelFromFd(
49 namespace experimental {
58 std::shared_ptr<grpc::Channel>
59 CreateCustomInsecureChannelWithInterceptorsFromFd(
62 std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>>
63 interceptor_creators);
67 #endif // GPR_SUPPORT_CHANNELS_FROM_FD
71 #endif // GRPCPP_CREATE_CHANNEL_POSIX_H