ApiHeaderTrait
REST / API lifecycle HTTP header names.
Mixed into HttpHeader.
Tags
Table of Contents
Constants
- IDEMPOTENCY_KEY : string = 'Idempotency-Key'
- `Idempotency-Key` — Client-generated key making an unsafe request idempotent (IETF draft, de-facto).
- PREFER : string = 'Prefer'
- `Prefer` — Preferences for how the server should handle the request (RFC 7240).
- PREFERENCE_APPLIED : string = 'Preference-Applied'
- `Preference-Applied` — Indicates which `Prefer` preferences were applied (RFC 7240).
- SUNSET : string = 'Sunset'
- `Sunset` — Date/time at which the resource is expected to become unresponsive (RFC 8594).
Constants
IDEMPOTENCY_KEY
`Idempotency-Key` — Client-generated key making an unsafe request idempotent (IETF draft, de-facto).
public
string
IDEMPOTENCY_KEY
= 'Idempotency-Key'
PREFER
`Prefer` — Preferences for how the server should handle the request (RFC 7240).
public
string
PREFER
= 'Prefer'
PREFERENCE_APPLIED
`Preference-Applied` — Indicates which `Prefer` preferences were applied (RFC 7240).
public
string
PREFERENCE_APPLIED
= 'Preference-Applied'
SUNSET
`Sunset` — Date/time at which the resource is expected to become unresponsive (RFC 8594).
public
string
SUNSET
= 'Sunset'