ResponsePipeline
public enum ResponsePipeline
Pipelines for a response. Pipelines take a response and its data from a Session
object. To convert data to
a Response
object, the last pipeline must be a terminator
pipeline. To process data, you can have
multiple redirector
pipelines before the terminator
pipeline.
- terminator: Associates a pipeline with a
ResponsePipelineTerminator
object to terminate the current handling process. - redirector: Associates a pipeline with a
ResponsePipelineRedirector
object to redirect the current handling process.
-
Associates a pipeline with a
ResponsePipelineTerminator
object to terminate the current handling process.Declaration
Swift
case terminator(ResponsePipelineTerminator)
-
Associates a pipeline with a
ResponsePipelineRedirector
object to redirect the current handling process.Declaration
Swift
case redirector(ResponsePipelineRedirector)