Module

URI.Host

#Host

data Host

A host address. Supports named addresses, IPv4, and IPv6.

Constructors

Instances

#parser

parser :: Parser String Host

A parser for host addresses.

#print

print :: Host -> String

A printer for host addresses.

#_IPv6Address

_IPv6Address :: Prism' Host IPv6Address

A prism for the IPv6Address constructor.

#_IPv4Address

_IPv4Address :: Prism' Host IPv4Address

A prism for the IPv4Address constructor.

#_NameAddress

_NameAddress :: Prism' Host RegName

A prism for the NameAddress constructor.

Re-exports from URI.Host.IPv4Address

#IPv4Address

data IPv4Address

The IPv4 address variation of the host part of a URI.

Instances

Re-exports from URI.Host.IPv6Address

#IPv6Address

newtype IPv6Address

This type and parser are much too forgiving currently, allowing almost anything through that looks vaguely IPv6ish.

Instances

Re-exports from URI.Host.RegName

#RegName

newtype RegName

The reg-name variation of the host part of a URI. A reg-name is probably more commonly referred to as just a host name or domain name (but it is actually a name, rather than an IP address).

Instances

Modules