password(_:)
Modifies a parse strategy to parse a URL’s password component in accordance with the provided behavior.
Declaration
func password(_ strategy: URL.ParseStrategy.ComponentParseStrategy<String> = .optional) -> URL.ParseStrategyParameters
- strategy:
A strategy for parsing the password component.
Return Value
A modified URL.ParseStrategy that incorporates the specified behavior.