TWIML_INTERCEPTOR_OPTIONS
const TWIML_INTERCEPTOR_OPTIONS: typeof TWIML_INTERCEPTOR_OPTIONS;Defined in: lib/twiml/twiml.interceptor.ts:81
Injection token for a module-wide TwimlInterceptorOptions default.
Provide it when registering the interceptor globally, where there is no constructor call to pass options to. Optional: when absent, the interceptor falls back to DEFAULT_TWIML_CONTENT_TYPE.
Example
Section titled “Example”@Module({ providers: [ { provide: TWIML_INTERCEPTOR_OPTIONS, useValue: { contentType: 'application/xml' } }, { provide: APP_INTERCEPTOR, useClass: TwimlInterceptor }, ],})export class AppModule {}