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

Redirector_Behavior

mattt edited this page Sep 18, 2020 · 2 revisions

Redirector.Behavior

Defines the behavior of the Redirector type.

public enum Behavior

Enumeration Cases

follow

Follow the redirect as defined in the response.

case follow

doNotFollow

Do not follow the redirect defined in the response.

case doNotFollow

modify

Modify the redirect request defined in the response.

case modify(:(URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
Types
Protocols
Global Typealiases
Clone this wiki locally