Skip to content

Type Alias: RequestInterceptor ​

ts
type RequestInterceptor = (request) => Promise<CommonMediaRequest>;

Defined in: request/src/RequestInterceptor.ts:10

Request interceptor API.

Parameters ​

request ​

CommonMediaRequest

The request to be executed.

Returns ​

Promise<CommonMediaRequest>

A promise with updated request that is resolved when the interceptor has completed the process of the request.

A Streaming Video Technology Alliance project.