TWIML_RESPONSE_TYPE_METADATA
const TWIML_RESPONSE_TYPE_METADATA: "nestjs-twilio:twiml-response-type" = 'nestjs-twilio:twiml-response-type';Defined in: lib/twiml/twiml.interceptor.ts:42
Metadata key under which TwimlResponseType stores its per-route
Content-Type override. Read back by TwimlInterceptor through a
Reflector.
Exported so you can read the same metadata from your own guard or interceptor rather than duplicating the key as a string literal.
Example
Section titled “Example”const contentType = reflector.getAllAndOverride<string>( TWIML_RESPONSE_TYPE_METADATA, [context.getHandler(), context.getClass()],);