Returns the URL represented by this string, if it is a valid URL.
public var url: URL?
Matches URLs using shell-like wildcards / globs.
urlPatternis interpreted relative to the service’s base URL unless it begins with a protocol (e.g.
http:). If it is relative, the leading slash is optional.
The pattern supports three wildcards:
*matches zero or more characters within a path segment.
**matches zero or more characters across path segments, with the special case that
?matches exactly one character within a path segment, and thus
?*matches one or more.
The pattern ignores the resource’s query string.
public func configurationPattern(for service: Service) -> (URL) -> Bool