TwimlInterceptorOptions
Defined in: lib/twiml/twiml.interceptor.ts:91
Options accepted by the TwimlInterceptor constructor.
Example
Section titled “Example”new TwimlInterceptor({ contentType: 'application/xml' });Properties
Section titled “Properties”| 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 |