Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

URLRequestConvertible

mattt edited this page Sep 18, 2020 · 2 revisions

URLRequestConvertible

Types adopting the URLRequestConvertible protocol can be used to safely construct URLRequests.

public protocol URLRequestConvertible

Requirements

asURLRequest()

Returns a URLRequest or throws if an Error was encountered.

func asURLRequest() throws -> URLRequest

Throws

Any error thrown while constructing the URLRequest.

Returns

A URLRequest.

Types
Protocols
Global Typealiases
Clone this wiki locally