Skip to content

TwimlInterceptorOptions

Defined in: lib/twiml/twiml.interceptor.ts:91

Options accepted by the TwimlInterceptor constructor.

new TwimlInterceptor({ contentType: 'application/xml' });
Property Type Description Defined in
contentType? "text/xml" | "application/xml" The Content-Type header written for every serialized TwiML response, unless overridden per-route by TwimlResponseType. Default 'text/xml' lib/twiml/twiml.interceptor.ts:98