Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd committed Oct 27, 2023
1 parent 32df3c3 commit e0a4da2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Flurl.Http/FlurlHttp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ public static class FlurlHttp
/// <summary>
/// Gets or creates the IFlurlClient that would be selected for sending the given IFlurlRequest when the clientless pattern is used.
/// </summary>
public static IFlurlClient GetClientForRequest(IFlurlRequest req) {
throw new Exception("here");
//return Clients.Get(_cachingStrategy(req));
}
public static IFlurlClient GetClientForRequest(IFlurlRequest req) => Clients.Get(_cachingStrategy(req));

/// <summary>
/// Sets a global caching strategy for getting or creating an IFlurlClient instance when the clientless pattern is used, e.g. url.GetAsync.
Expand Down

0 comments on commit e0a4da2

Please sign in to comment.