Skip to main content

Module web

Module web 

Source
Expand description

PostgreSQL web adapter primitives shared by axum, actix-web, and poem.

Request parsing is kept aligned with the portable common adapter, while this module maps PostgreSQL’s richer internal error enum to public HTTP errors.

Structs§

PublicError
QueryParams
SearchParamConfig
Framework request configuration. Use the same limits as the query policy. Install as an axum extension, actix app data, or poem endpoint data.
SearchParams
GET query / POST form parameters, preserving ordered repeated values.
WebError
Safe default HTTP error adapter. Applications can override the mapping using public_error without publishing the underlying database error.

Functions§

public_error