Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Method

ipv6(host:port:)

Creates an IPv6 address from an address and port that are already known to be valid.
static func ipv6(host: String, port: Int) -> SocketAddress

Discussion

Use init(ipAddress:port:) to parse and validate an untrusted string instead.