[][src]Function grpcio_sys::grpc_tls_credentials_options_set_server_verification_option

pub unsafe extern "C" fn grpc_tls_credentials_options_set_server_verification_option(
    options: *mut grpc_tls_credentials_options,
    server_verification_option: grpc_tls_server_verification_option
) -> c_int

Set grpc_tls_server_verification_option field in credentials options with the provided server_verification_option. options should not be NULL. This should be called only on the client side. If grpc_tls_server_verification_option is not GRPC_TLS_SERVER_VERIFICATION, use of a customer server authorization check (grpc_tls_server_authorization_check_config) will be mandatory. It returns 1 on success and 0 on failure. It is used for experimental purpose for now and subject to change.