effect-io-ai

Package: @effect/platform
Module: Url

Url.setHost

Updates the host (domain and port) of the URL.

Signature

declare const setHost: { (host: string): (url: URL) => URL; (url: URL, host: string): URL; }

Source

Since v1.0.0