getHostname method
Implementation
Future<HostnameInformation> getHostname() async {
final envelope = await Soap.retrieveEnvlope(
uri,
SoapRequest.envelope(null, SoapRequest.hostname()),
);
if (envelope.body.hostnameResponse == null) throw Exception();
return envelope.body.hostnameResponse!.hostnameInformation;
}