host property
The value of the hostHeader header, if any.
Implementation
@override
String? get host {
if (_host != null) {
return _host!.host;
} else if (_data.containsKey(HttpHeaders.hostHeader)) {
_host = Uri.parse(_data[HttpHeaders.hostHeader]!.join(','));
return _host!.host;
} else {
return null;
}
}
The value of the hostHeader header, if any.
Implementation
String? host;