Function grpcio_sys::grpc_insecure_channel_create [−][src]
pub unsafe extern "C" fn grpc_insecure_channel_create(
target: *const c_char,
args: *const grpc_channel_args,
reserved: *mut c_void
) -> *mut grpc_channel
Create a client channel to ‘target’. Additional channel level configuration MAY be provided by grpc_channel_args, though the expectation is that most clients will want to simply pass NULL. The user data in ‘args’ need only live through the invocation of this function. However, if any args of the ‘pointer’ type are passed, then the referenced vtable must be maintained by the caller until grpc_channel_destroy terminates. See grpc_channel_args definition for more on this.