Module

URI.Host

Package
purescript-uri
Repository
purescript-contrib/purescript-uri

#Host Source

data Host

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

Constructors

Instances

#parser Source

parser :: Parser String Host

A parser for host addresses.

#print Source

print :: Host -> String

A printer for host addresses.

#_IPv6Address Source

_IPv6Address :: Prism' Host IPv6Address

A prism for the IPv6Address constructor.

#_IPv4Address Source

_IPv4Address :: Prism' Host IPv4Address

A prism for the IPv4Address constructor.

#_NameAddress Source

_NameAddress :: Prism' Host RegName

A prism for the NameAddress constructor.

Re-exports from URI.Host.IPv4Address

#IPv4Address Source

data IPv4Address

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

Instances

Re-exports from URI.Host.IPv6Address

#IPv6Address Source

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 Source

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