(Quick Reference)

scheme

Purpose

Sets the scheme part of the URL.

Examples

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

Description

Sets the scheme part of the URL. Typical values are "http" and "https".