Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: documentation #2530

Open
MannusEtten opened this issue Feb 26, 2025 · 1 comment
Open

[Question]: documentation #2530

MannusEtten opened this issue Feb 26, 2025 · 1 comment
Labels
documentation help wanted A change up for grabs for contributions from the community question

Comments

@MannusEtten
Copy link

MannusEtten commented Feb 26, 2025

What are you wanting to achieve?

apparently your are so fast with developing that there is no documentation about how to integrate the latest versions into Flurl or Refit.

To be honest, I do understand a lot of the library but I can't figure it out how to incorporate it with a HttpClient-call or so. It is probably my misunderstanding and lack of compentencies to figure it out.

But, I do not want to handle bare http clients in my libraries, so that is why I use Refit but adding the functions of Polly is super valuable to make libraries robust. So for today, I will end up by implementing my own retry-function.

What code or approach do you have so far?

i have no clue where to start

Additional context

No response

@martincostello
Copy link
Member

As long as we don't get too "kitchen-sink-y" I think it would be reasonable to contain some minimal examples of how to use Polly with some popular other libraries.

Until then, this code in a sandbox app of mine might prove helpful to you regarding Refit: RefitHttpClientBuilderExtensions.

In essence, Polly is integrated into HttpClient via HttpClientFactory, and then Refit is integrated into HttpClientFactory.

@martincostello martincostello added documentation help wanted A change up for grabs for contributions from the community labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation help wanted A change up for grabs for contributions from the community question
Projects
None yet
Development

No branches or pull requests

2 participants