WAI (Web Application Interface) Application for static files and CGI.
Documentation
type NumericAddress = StringSource
A type for IP address in numeric string representation.
getPeerAddr :: SockAddr -> IO NumericAddressSource
Convert SockAddr
to NumericAddress
. If the address is
an IPv4-embedded IPv6 address, the IPv4 is extracted.