pub async fn create(
    info: CreateInfo<'_>,
    client_sender: &mut Sender<RequestMessage>
) -> Result<CommandResponse<CreateResponse>, Error>
Expand description

Registers a new domain

Arguments

  • domain - The domain to be registered
  • period - How long to register for
  • registrant - Registrant contact ID,
  • contacts - Other contact types for the domain
  • nameservers - Domain nameservers
  • auth_info - Auth info password for future transfers
  • client_sender - Reference to the tokio channel into the client