FetchConfig Class
The fetch process consists into pass the request along a list of source handlers. You call use to add a new source handler to the pipeline.
Methods
orFail
()
Adds an always failing source handler to the pipeline.
pipeline
()
SourceHandler[]
Gets the current pipeline of sources.
Returns:
SourceHandler[]:
The current pipeline of source handlers.
use
(
chainable
-
source
Adds a new SourceHandler to the fetching pipeline.
Parameters:
-
source
SourceHandlerThe handler to be added to the pipeline.