ResponsePipelineRedirectorAction
public enum ResponsePipelineRedirectorAction
Actions against the processing result from a ResponsePipelineRedirector object. A redirector needs to
decide where to redirect the current request after data processing. These enumeration members provide data
destinations and behaviors of a redirector.
- restart: Restarts the current request with the original pipelines.
- restartWithout: Restarts the current request without certain pipelines.
- stop: Stops the handling process due to an error.
- continue: Continues the handling process.
- continueWith: Continues the handling process with modified data and response.
-
Restarts the current request with the original pipelines.
Declaration
Swift
case restart -
Restarts the current request without certain pipelines.
Declaration
Swift
case restartWithout(ResponsePipeline) -
Stops the handling process due to an error.
Declaration
Swift
case stop(Error) -
Continues the handling process.
Declaration
Swift
case `continue` -
Continues the handling process with modified data and response.
Declaration
Swift
case continueWith(Data, HTTPURLResponse)
View on GitHub
ResponsePipelineRedirectorAction Enumeration Reference