libhosttokens.host

Parses the URL-host (not the url) e.g. www.github.com , lb1.www.some-cool-domain.co.uk , 127.0.0.1 , 2001:0db8:0:0:0:0:1428:57ab

Members

Functions

parseHost
immutable(Host) parseHost(string host)

Parses a hostname

Structs

Host
struct Host

A parsed hostname.

Meta

License

Distributed under the terms of the MIT license. Consult the provided LICENSE.md file for details