forked from justeattakeaway/httpclient-interception
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protype for additional custom matching
Prototype of updating the matching behaviour for justeattakeaway#249.
- Loading branch information
1 parent
610dd16
commit 5abf6a2
Showing
7 changed files
with
112 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright (c) Just Eat, 2017. All rights reserved. | ||
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. | ||
|
||
using System.Net.Http; | ||
using System.Threading.Tasks; | ||
|
||
namespace JustEat.HttpClientInterception | ||
{ | ||
internal delegate Task<bool> HttpRequestPredicate(HttpRequestMessage request); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
#nullable enable | ||
JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.AndFor(System.Func<System.Net.Http.HttpRequestMessage!, System.Threading.Tasks.Task<bool>!>! predicate) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! | ||
JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.AndFor(System.Predicate<System.Net.Http.HttpRequestMessage!>! predicate) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters