lambda-flows 0.2.1

Lambda extension for flows.network
Documentation
This is a library for making your flow function acting as a lambda service in [test.flows.network](https://test.flows.network).

## Usage example
```rust
use lambda_flows::{request_received, send_response};

#[no_mangle]
pub fn run() {
    request_received(|_qry, _body| {
      send_response(
          200,
          vec![(String::from("content-type"), String::from("text/html"))],
          "ok".as_bytes().to_vec(),
      );
    });
}
```

When a request is received, the callback closure in [`request_received`](https://docs.rs/lambda-flows/latest/lambda_flows/fn.request_received.html) will be called. We get the query and body then set the status, headers and body of the response using [`send_response`](https://docs.rs/lambda-flows/latest/lambda_flows/fn.send_response.html).

The whole document is [here](https://docs.rs/lambda-flows).