Contents:
BadRequest
MiddlewareShortCircuit
HttpApi
RestApi
WebsocketApi
Bases: Exception
Exception
Exception raised for a bad request format.
Explanation of the error.
str
Exception raised to interrupt middleware processing.
The response object or value to be returned directly.
Any
Bases: Api
Api
A class to represent an HTTP API, extending the base Api class.
Handle the incoming event and context, process the request, and return a response.
A class to represent a REST API, extending the base Api class.
Bases: object
object
WebsocketApi class to manage websocket requests and responses.
Register a function to a specific route_key.
Decorator to register a middleware function revisar()…
Decorator to register a route with a specific route_key