splithost
splithost(
url:string): [string|null,string]
Defined in: packages/pythonlib/src/urllib.ts:318
Split a URL after the host into [host, rest].
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | URL to split |
Returns
[string | null, string]
Tuple of [host, rest]