Skip to main content

RequestInterceptor

Upgather SDK


Upgather SDK / RequestInterceptor

Interface: RequestInterceptor

Interface for request interceptors.

Remarks​

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

Methods​

intercept()​

intercept(request): HttpRequest

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

Parameters​

request​

HttpRequest

The HTTP request to intercept.

Returns​

HttpRequest

The modified HTTP request.