- createHost(__namedParameters): string
Parameters
- __namedParameters: Readonly<Pick<{
fullPath: string;
hash: string;
host: string;
hostname: string;
href: string;
origin: string;
password: string;
pathname: string;
paths: string[];
port: string;
protocol: string;
search: string;
searchParams: Required<Record<string, string[]>>;
username: string;
}, "hostname" | "port">>
Returns string
Combined the needed URL parts into a URL host.