Skip to content

Switch from Reqwest client to Hyper client  #54

@bnusunny

Description

@bnusunny

Lambda Web Adapter use Reqwest client to send http requests, which works great. And AWS Lambda Rust Runtime lambda-http crate added support for http_body::Body in v0.6.0, see PR#491.

By switching from Reqwest client to Hyper client, we can use that feature from lambda-http crate and remove convert_body() function here. Reduce the amount of code in the adapter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions