Skip to main content

Module preferences

Module preferences 

Source
Expand description

HTTP Prefer header parsing

Parses HTTP Prefer headers into structured preference objects. Parses RFC 7240 Prefer headers into structured preference types.

Structs§

Preferences
All recognized preferences from Prefer headers.

Enums§

PreferCount
How to count results.
PreferHandling
How to handle unrecognized preferences.
PreferMissing
How to handle missing columns in insert/update.
PreferPlurality
Response plurality preference.
PreferRepresentation
How to return mutated data.
PreferResolution
How to handle duplicate values during upsert.
PreferTransaction
Whether to commit or rollback the transaction.