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);
74 std::shared_ptr<grpc::Channel> CreateChannelFromFd(
75 int fd,
const std::shared_ptr<ChannelCredentials>& creds,
76 const ChannelArguments& args);
80 #endif // GPR_SUPPORT_CHANNELS_FROM_FD
82 namespace experimental {
95 std::unique_ptr<grpc_event_engine::experimental::EventEngine::Endpoint>
97 const std::shared_ptr<ChannelCredentials>& creds,
98 const ChannelArguments& args);
104 #endif // GRPCPP_CREATE_CHANNEL_POSIX_H