URLConvertible

public protocol URLConvertible

A protocol used to receive requests with String/URL/URLComponents intercheangebly

  • Converts this object to a URL.

    Throws

    An error if the conversion fails.

    Declaration

    Swift

    func asUrl() throws -> URL

    Return Value

    The URL representation.