(Quick Reference)

host

Purpose

Sets the host part of the URL.

Examples

UriBuilder.build {
    base = "http://example.com"
    host = "foobar"
}

Description

Sets the host part of the URL.