Pular para o conteúdo
Português (BR)

DEFAULT_REQUEST_ID_HEADER

Este conteúdo não está disponível em sua língua ainda.

const DEFAULT_REQUEST_ID_HEADER: "x-request-id" = 'x-request-id'

Defined in: src/http/middleware/RequestIdOptions.ts:10

Built-in default for RequestIdOptionsType.headerName — the header the middleware reads and echoes unless configured otherwise, and the one requestIdOf looks at by default. A single spelling so the middleware and the framework’s own error log cannot drift apart.