Function lambda_flows::request_received
source · Expand description
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
https://code.flows.network/lambda/6rtSi9SEsC?param=hello
then the query will look like HashMap("param", Value::String("hello"))
The body is the raw bytes of the request body.