Expand description
Helper module for building plugin responses.
Provides convenience functions for common response patterns.
Functionsยง
- bad_
request - Create a bad request response with a message.
- custom
- Create a response with custom status, headers, and body.
- internal_
error - Create an internal server error response.
- json
- Create a successful JSON response.
- not_
found - Create a not found response.
- ok
- Create an empty successful response.
- text
- Create a successful plain text response.