19 #ifndef GRPCPP_CREATE_CHANNEL_POSIX_H
20 #define GRPCPP_CREATE_CHANNEL_POSIX_H
30 #ifdef GPR_SUPPORT_CHANNELS_FROM_FD
36 std::shared_ptr<grpc::Channel> CreateInsecureChannelFromFd(
37 const std::string& target,
int fd);
45 std::shared_ptr<grpc::Channel> CreateCustomInsecureChannelFromFd(
48 namespace experimental {
57 std::shared_ptr<grpc::Channel>
58 CreateCustomInsecureChannelWithInterceptorsFromFd(
61 std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface>>
62 interceptor_creators);
66 #endif // GPR_SUPPORT_CHANNELS_FROM_FD
70 #endif // GRPCPP_CREATE_CHANNEL_POSIX_H