Query Method
Get information about a domain.
Syntax
async whois.query(domain : string): Promise<void>
Remarks
When this method is called, a request is sent to the Server for the information that is stored about the domain. The server response is made available through the DomainInfo property.