Skip to content

Type Alias: ResponseInterceptor ​

ts
type ResponseInterceptor = (response) => Promise<CommonMediaResponse>;

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

Response interceptor API.

Parameters ​

response ​

CommonMediaResponse

The received response.

Returns ​

Promise<CommonMediaResponse>

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

A Streaming Video Technology Alliance project.