API Docs for:
Show:

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.

Item Index

Methods

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

(
  • source
)
chainable

Adds a new SourceHandler to the fetching pipeline.

Parameters: