Function grpcio_sys::grpc_ssl_server_credentials_create_options_using_config_fetcher[][src]

pub unsafe extern "C" fn grpc_ssl_server_credentials_create_options_using_config_fetcher(
    client_certificate_request: grpc_ssl_client_certificate_request_type,
    cb: grpc_ssl_server_certificate_config_callback,
    user_data: *mut c_void
) -> *mut grpc_ssl_server_credentials_options
Expand description

Creates an options object using a certificate config fetcher. Use this method to reload the certificates and keys of the SSL server without interrupting the operation of the server. Initial certificate config will be fetched during server initialization.

  • user_data parameter, if not NULL, contains opaque data which will be passed to the fetcher (see definition of grpc_ssl_server_certificate_config_callback).