host property

String get host

Returns the Location object's URL's host and port (if different from the default port for the scheme).

Cannot be set in Deno.

Implementation

_i2.String get host => _i4.getProperty(
      this,
      'host',
    );
set host (String value)

Implementation

set host(_i2.String value) {
  _i4.setProperty(
    this,
    'host',
    value,
  );
}