Initializerheckj.formic 0.3.0Formic
init(_:)
NetworkAddress.swift:29init?(_ address: IPv4Address?)
init?(_ address: IPv4Address?)
s6Formic10RemoteHostV14NetworkAddressVyAESgAC04IPv4E0VSgcfc
What are these?8L749
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
struct NetworkAddress
A network address, either an IP address or a DNS name.
struct RemoteHost
A local or remote host.
struct IPv4Address
An IPv4 address.
init?(_ name: String)
init(_ address: IPv4Address)
init?(argument: String)
Creates a new network address from a string.
init(from decoder: any Decoder) throws
static let localhost: RemoteHost.NetworkAddress
static func resolve(_ name: String?) async -> NetworkAddress?
let address: IPv4Address
let dnsName: String?