REQUEST_HEADERS
Request metadata sent with RPC calls.
When to use
- Add auth tokens, API keys, and trace IDs
- Validate metadata behavior together with
@header()assertions
Minimal example
php
--- REQUEST_HEADERS ---
authorization: Bearer test-token
x-request-id: req-123Rules
- Legacy
HEADERSalias is recognized but deprecated - One section can include multiple key-value pairs