URLConvertible
public protocol URLConvertible : Sendable
Types adopting the URLConvertible protocol can be used to construct URLs, which can then be used to construct
URLRequests.
-
Returns a
URLfrom the conforming instance or throws.Throws
Any error thrown while creating theURL.Declaration
Swift
func asURL() throws -> URLReturn Value
The
URLcreated from the instance.
View on GitHub
Install in Dash