datatype class %Library.NetworkAddress extends %Library.String
ODBC Type: VARCHARThis datatype class validates IP addresses and ports in the format IP|Port. The IP address can either be an IPV4, IPV6, or DNS name. For example:
Method Inventory (Including Private)
Methods (Including Private)
classmethod FormatForHttp(Address) as %String [ Language = objectscript ]
Method to Get the address in a format usable with an http url. The format of %NetworkAddress is address_"|"_port, while the address required for a url is address_":"_port. Furthermore, if the address is an IPV6 colon separated hex representation, the address must be enclosed with .