Skip to content

Allow specifying RequestStrategy on per request on next #628

@TroyKomodo

Description

@TroyKomodo

Is your feature request related to a problem? Please describe.

image

Currently the config override is specified on a per request basis but there is no way for any client to modify this value.

The difference between doing this and constructing a new client is this will reuse the underlying hyper connection pool. If we invoke the client builder (the only way i found to set the request strategy) we create an entirely new connection pool.

Describe the solution you'd like

Ideally I would like

image

These 2 methods to be exposed on the CustomizedStripeRequest struct aswell so we can do something like this

image

Describe alternatives you've considered

image

Currently we are resorting to this.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions