Skip to content

Create Proxy Matcher util #3850

Closed
Closed
@seanmonstar

Description

@seanmonstar

Create a type in hyper_util::client::proxy that can be configured with proxy matching rules. It should be easy to also construct one based of environment variables, or system proxies.

Note, this isn't a proxy Service. Just a type that when we ask "does this URL need a proxy", it can answer with the proxy's URL, type, auth, etc.

For prior art, there's a similar type used internally in reqwest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: client.C-featureCategory: feature. This is adding a new feature.K-hyper-utilCrate: hyper-util

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions