pub async fn request_received<F, Fut>(cb: F)where F: FnOnce(Vec<(String, String)>, HashMap<String, Value>, Vec<u8>) -> Fut, Fut: Future<Output = ()>,
Register a callback closure with the query and body of the request for the lambda service.
The query is formed as a HashMap. For example, say the entrypoint of the lambda service is
then the query will look like
The body is the raw bytes of the request body.