URL.ParseStrategy.ComponentParseStrategy.defaultValue(_:)
A strategy that provides a default value for a component if it’s absent in the source string.
Declaration
case defaultValue(Component)Parameters
- Component:
A value to use in the parsed URL if the component is absent in the source string.