Behavior
public enum Behavior
Defines the behavior of the Redirector
type.
- follow: Follows the redirect as defined in the response.
- doNotFollow: Does not follow the redirect defined in the response.
- modify: Modifies the redirect request defined in the response.
-
Undocumented
Declaration
Swift
case follow
-
Undocumented
Declaration
Swift
case doNotFollow
-
Undocumented
Declaration
Swift
case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)