Function grpcio_sys::grpc_ssl_server_credentials_create_options_using_config [−][src]
pub unsafe extern "C" fn grpc_ssl_server_credentials_create_options_using_config(
client_certificate_request: grpc_ssl_client_certificate_request_type,
certificate_config: *mut grpc_ssl_server_certificate_config
) -> *mut grpc_ssl_server_credentials_options
Creates an options object using a certificate config. Use this method when the certificates and keys of the SSL server will not change during the server’s lifetime.
- Takes ownership of the certificate_config parameter.