URLRequestProvider
public protocol URLRequestProvider
Types adopting the URLRequestConvertible protocol can be used to safely construct URLRequests.
-
Returns a
URLRequestor throws if anErrorwas encoutered.Throws
Any error thrown while constructing theURLRequest.Declaration
Swift
func urlRequest() throws -> URLRequestReturn Value
A
URLRequest. -
urlRequestExtension methodThe
URLRequestreturned by discarding anyErrorencountered.Declaration
Swift
var urlRequest: URLRequest? { get }