host property

String get host

Retrieves the current hostname from the request URI.

Implementation

String get host => httpRequest.requestedUri.host;