pub async fn renew(
    domain: &str,
    add_period: Option<Period>,
    cur_expiry_date: DateTime<Utc>,
    fee_agreement: Option<FeeAgreement>,
    donuts_fee_agreement: Option<DonutsFeeData>,
    isnic_payment: Option<PaymentInfo>,
    client_sender: &mut Sender<RequestMessage>
) -> Result<CommandResponse<RenewResponse>, Error>
Expand description

Renews a domain name

Arguments

  • domain - The domain in question
  • add_period - How much time to add to the domain
  • cur_expiry_date - The current expiry date
  • client_sender - Reference to the tokio channel into the client