(Quick Reference)

base

Purpose

Sets a base URL that the other properties can override.

Examples

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

Description

Sets a base URL that the other properties can override. Any other properties set in the UriBuilder will override the appropriate parts of the base URL. The only exception to this is the path property, which will add to the URL path.