Skip to main content

RequestInterceptor

Upgather SDK


Upgather SDK / RequestInterceptor

Interface: RequestInterceptor

Defined in: lib/interceptors/RequestInterceptor.ts:10

Interface for request interceptors.

Remarks

Implementations of this interface can intercept and modify HTTP requests before they are sent.

Methods

intercept()

intercept(request): HttpRequest

Defined in: lib/interceptors/RequestInterceptor.ts:17

Intercepts an HTTP request and returns the (potentially modified) request.

Parameters

request

HttpRequest

The HTTP request to intercept.

Returns

HttpRequest

The modified HTTP request.