parseIpv6ScopedAddress
parseIpv6ScopedAddress(
text):Ipv6ScopedAddress
Defined in: packages/net-address/src/ipv6/parse-ipv6.ts:147
Parses an RFC 4291 literal with an optional RFC 4007 zone identifier.
Everything after % is the zone, verbatim. RFC 6874’s %25 percent-encoding
is a URI-layer concern: decode it before calling, or a zone genuinely named
25eth0 becomes indistinguishable from an encoded eth0.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Throws
Section titled “Throws”NetAddressSyntaxError When text is not such a literal, or the zone
is empty.