Function grpcio_sys::grpc_tls_credentials_options_set_cert_request_type[][src]

pub unsafe extern "C" fn grpc_tls_credentials_options_set_cert_request_type(
    options: *mut grpc_tls_credentials_options,
    type_: grpc_ssl_client_certificate_request_type
)

Sets the options of whether to request and verify client certs. This should be called only on the server side. It returns 1 on success and 0 on failure. It is used for experimental purpose for now and subject to change.