Skip to content

Failed to extract Data<awc::client::Client> for proxy  #17

@Sleepful

Description

@Sleepful

Tried to run the sample code in README, this happens:

Failed to extract `Data<awc::client::Client>` for `proxy` handler. For the Data extractor to work correctly, wrap the data with `Data::new()` and pass it to `App::app_data()`. Ensure that types align in both the set and retrieve calls

What did I do wrong?

upset that the basic code doesn't work haha

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions