Function grpcio_sys::grpc_channel_create_from_fd
source · pub unsafe extern "C" fn grpc_channel_create_from_fd(
target: *const c_char,
fd: c_int,
creds: *mut grpc_channel_credentials,
args: *const grpc_channel_args
) -> *mut grpc_channel
Expand description
Create a secure channel to ‘target’ using file descriptor ‘fd’ and passed-in credentials. The ‘target’ argument will be used to indicate the name for this channel. Note that this API currently only supports insecure channel credentials. Using other types of credentials will result in a failure.