Builder

class Builder

Properties

Link copied to clipboard
var host: String?

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Link copied to clipboard
var path: String?

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Link copied to clipboard
var port: String?

The port. You can specify a value from 1 to 65535 or #{port}.

Link copied to clipboard

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.

Link copied to clipboard

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Link copied to clipboard

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).