API Reference > imodeljs-frontend > Tiles > TileRequestChannels > getNameFromUrl getNameFromUrl MethodStatic Extract the host name from a URL for use as the name of the corresponding TileRequestChannel. getNameFromUrl(url: string | URL): string throws TypeError if url is a string and does not represent a valid URL. see TileRequestChannels.getForHttp to obtain or register a channel for the host name. Parameter Type Description url string | URL Returns - string Defined in core/frontend/src/tile/TileRequestChannel.ts Line 462 Last Updated: 12 June, 2024