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 questionadd_period
- How much time to add to the domaincur_expiry_date
- The current expiry dateclient_sender
- Reference to the tokio channel into the client