Module response

Source
Expand description

Constructing responses and rejections.

Structs§

Rejection
A rejection response type.
Response
An HTTP response.
WebHook
User-defined HTTP callbacks.

Traits§

ExtractRejection
Trait for extracting rejections.
ResponseCode
Trait for response code. See Problem Details for HTTP APIs.

Type Aliases§

DataTransformer
A function pointer of transforming the response data.
StatusCodeNon-http02
An HTTP status code.