Constraints to be applied on webAuthority

Since 1.14.0

interface WebAuthorityConstraints {
    size?: Size | RelativeSize;
    withIPv4?: boolean;
    withIPv4Extended?: boolean;
    withIPv6?: boolean;
    withPort?: boolean;
    withUserInfo?: boolean;
}

Properties

size?: Size | RelativeSize

Define how large the generated values should be (at max)

Since 2.22.0

withIPv4?: boolean

Enable IPv4 in host

false

Since 1.14.0

withIPv4Extended?: boolean

Enable extended IPv4 format

false

Since 1.17.0

withIPv6?: boolean

Enable IPv6 in host

false

Since 1.14.0

withPort?: boolean

Enable port suffix

false

Since 1.14.0

withUserInfo?: boolean

Enable user information prefix

false

Since 1.14.0