[][src]Function indyrs::did::set_endpoint_for_did

pub fn set_endpoint_for_did(
    wallet_handle: IndyHandle,
    did: &str,
    address: &str,
    transport_key: &str
) -> Box<dyn Future<Item = (), Error = IndyError>>

Set/replaces endpoint information for the given DID.

Arguments

  • wallet_handle - Wallet handle (created by Wallet::open).
  • did - The DID to resolve endpoint.
  • address - The DIDs endpoint address.
  • transport_key - The DIDs transport key (ver key, key id).