Skip to main content
Version: Next

FetchMiddleware.apply()

Home > @backstage/core-app-api > FetchMiddleware > apply

Applies this middleware to an inner implementation.

Signature:

apply(next: typeof fetch): typeof fetch;

Parameters

Parameter

Type

Description

next

typeof fetch

The next, inner, implementation, that this middleware shall call out to as part of the request cycle.

**Returns:**

typeof fetch