Skip to main content

Module response

Module response 

Source
Expand description

SQS response serialization and error formatting.

Constants§

CONTENT_TYPE
Content type for SQS JSON responses.

Functions§

error_to_json
Serialize an SQS error into a JSON response body.
error_to_response
Convert an SqsError into a complete HTTP error response.
json_response
Build a success response from JSON bytes.