Function grpcio_sys::grpc_local_credentials_create
source · pub unsafe extern "C" fn grpc_local_credentials_create(
type_: grpc_local_connect_type
) -> *mut grpc_channel_credentials
Expand description
This method creates a local channel credential object. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY for UDS and GRPC_SECURITY_NONE for LOCAL_TCP. It is used for experimental purpose for now and subject to change.
- type: local connection type
It returns the created local channel credential object.