diff --git a/.vscode/launch.json b/.vscode/launch.json
index 7a970311..d6d3be92 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
- "program": "${workspaceFolder}/samples/SampleApp/bin/Debug/net8.0/SampleApp.dll",
+ "program": "${workspaceFolder}/samples/SampleApp/bin/Debug/net9.0/SampleApp.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/SampleApp",
"stopAtEntry": false,
diff --git a/.vsconfig b/.vsconfig
index a991ed17..8114a325 100644
--- a/.vsconfig
+++ b/.vsconfig
@@ -3,7 +3,7 @@
"components": [
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Workload.CoreEditor",
- "Microsoft.NetCore.Component.Runtime.8.0",
+ "Microsoft.NetCore.Component.Runtime.9.0",
"Microsoft.NetCore.Component.SDK",
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices"
diff --git a/Directory.Build.props b/Directory.Build.props
index d9291b1e..074e47dd 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -11,6 +11,7 @@
All
$(MSBuildThisFileDirectory)justeat-oss.snk
JUSTEAT_OSS
+ true
SHA256
$(MSBuildThisFileDirectory)HttpClientInterception.ruleset
Just Eat
@@ -40,8 +41,8 @@
snupkg
true
true
- 4.0.0.0
- 4.3.1
+ 5.0.0.0
+ 5.0.0
beta.$(GITHUB_RUN_NUMBER)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 1e0881be..41b96043 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,7 +5,7 @@
-
+
@@ -18,7 +18,8 @@
-
+
+
diff --git a/HttpClientInterception.ruleset b/HttpClientInterception.ruleset
index f1408ad7..68d531a1 100644
--- a/HttpClientInterception.ruleset
+++ b/HttpClientInterception.ruleset
@@ -4,6 +4,7 @@
+
diff --git a/global.json b/global.json
index 66e4c11e..217f7c9f 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "8.0.403",
+ "version": "9.0.100",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
diff --git a/samples/SampleApp.Tests/SampleApp.Tests.csproj b/samples/SampleApp.Tests/SampleApp.Tests.csproj
index bfb2bbb4..06eda85e 100644
--- a/samples/SampleApp.Tests/SampleApp.Tests.csproj
+++ b/samples/SampleApp.Tests/SampleApp.Tests.csproj
@@ -2,7 +2,7 @@
true
$(NoWarn);CA1056;CA1062;CA1707;CA1711;CA1861;CA2007;SA1600
- net8.0
+ net9.0
@@ -21,6 +21,7 @@
+
diff --git a/samples/SampleApp/SampleApp.csproj b/samples/SampleApp/SampleApp.csproj
index ee242234..1c7b68cd 100644
--- a/samples/SampleApp/SampleApp.csproj
+++ b/samples/SampleApp/SampleApp.csproj
@@ -2,9 +2,10 @@
inprocess
$(NoWarn);CA1062;CA2007;SA1600
- net8.0
+ net9.0
+
diff --git a/src/HttpClientInterception/CompatibilitySuppressions.xml b/src/HttpClientInterception/CompatibilitySuppressions.xml
new file mode 100644
index 00000000..1e108621
--- /dev/null
+++ b/src/HttpClientInterception/CompatibilitySuppressions.xml
@@ -0,0 +1,31 @@
+
+
+
+ CP0002
+ M:JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterGetFromJson``1(JustEat.HttpClientInterception.HttpClientInterceptorOptions,System.String,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Net.HttpStatusCode)
+ lib/net6.0/JustEat.HttpClientInterception.dll
+ lib/netstandard2.0/JustEat.HttpClientInterception.dll
+ true
+
+
+ CP0002
+ M:JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.WithJsonContent``1(JustEat.HttpClientInterception.HttpRequestInterceptionBuilder,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})
+ lib/net6.0/JustEat.HttpClientInterception.dll
+ lib/netstandard2.0/JustEat.HttpClientInterception.dll
+ true
+
+
+ CP0002
+ M:JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterGetFromJson``1(JustEat.HttpClientInterception.HttpClientInterceptorOptions,System.String,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Net.HttpStatusCode)
+ lib/net7.0/JustEat.HttpClientInterception.dll
+ lib/netstandard2.0/JustEat.HttpClientInterception.dll
+ true
+
+
+ CP0002
+ M:JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.WithJsonContent``1(JustEat.HttpClientInterception.HttpRequestInterceptionBuilder,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})
+ lib/net7.0/JustEat.HttpClientInterception.dll
+ lib/netstandard2.0/JustEat.HttpClientInterception.dll
+ true
+
+
diff --git a/src/HttpClientInterception/HttpClientInterceptorOptionsExtensions.cs b/src/HttpClientInterception/HttpClientInterceptorOptionsExtensions.cs
index bc6c6c5e..9d0fd7c5 100644
--- a/src/HttpClientInterception/HttpClientInterceptorOptionsExtensions.cs
+++ b/src/HttpClientInterception/HttpClientInterceptorOptionsExtensions.cs
@@ -100,15 +100,15 @@ public static HttpClientInterceptorOptions RegisterByteArray(
throw new ArgumentNullException(nameof(contentFactory));
}
- IDictionary>? multivalueHeaders = null;
+ Dictionary>? multivalueHeaders = null;
if (responseHeaders is not null)
{
- multivalueHeaders = new Dictionary>();
+ multivalueHeaders = [];
foreach (var pair in responseHeaders)
{
- multivalueHeaders[pair.Key] = new[] { pair.Value };
+ multivalueHeaders[pair.Key] = [pair.Value];
}
}
@@ -157,15 +157,15 @@ public static HttpClientInterceptorOptions RegisterStream(
throw new ArgumentNullException(nameof(contentStream));
}
- IDictionary>? multivalueHeaders = null;
+ Dictionary>? multivalueHeaders = null;
if (responseHeaders is not null)
{
- multivalueHeaders = new Dictionary>();
+ multivalueHeaders = [];
foreach (var pair in responseHeaders)
{
- multivalueHeaders[pair.Key] = new[] { pair.Value };
+ multivalueHeaders[pair.Key] = [pair.Value];
}
}
diff --git a/src/HttpClientInterception/JustEat.HttpClientInterception.csproj b/src/HttpClientInterception/JustEat.HttpClientInterception.csproj
index 091e04b0..728770da 100644
--- a/src/HttpClientInterception/JustEat.HttpClientInterception.csproj
+++ b/src/HttpClientInterception/JustEat.HttpClientInterception.csproj
@@ -4,27 +4,24 @@
A .NET library for intercepting server-side HTTP dependencies.
true
true
+ $(NoWarn);CA1510
+ direct
enable
Library
JustEat.HttpClientInterception
- 4.2.0
+
+ 4.3.0
true
JustEat.HttpClientInterception
true
A .NET library for intercepting server-side HTTP dependencies.
- netstandard2.0;net472;net6.0;net7.0
+ netstandard2.0;net472;net8.0
-
-
-
-
-
-
@@ -32,7 +29,7 @@
-
+
true
diff --git a/src/HttpClientInterception/PublicAPI/net7.0/PublicAPI.Shipped.txt b/src/HttpClientInterception/PublicAPI/net7.0/PublicAPI.Shipped.txt
deleted file mode 100644
index d7bfd09e..00000000
--- a/src/HttpClientInterception/PublicAPI/net7.0/PublicAPI.Shipped.txt
+++ /dev/null
@@ -1,121 +0,0 @@
-#nullable enable
-JustEat.HttpClientInterception.BundleExtensions
-JustEat.HttpClientInterception.HttpClientInterceptorOptions
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.BeginScope() -> System.IDisposable!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.Clear() -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.Clone() -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.Deregister(JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.Deregister(System.Net.Http.HttpMethod! method, System.Uri! uri) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.HttpClientInterceptorOptions() -> void
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.HttpClientInterceptorOptions(bool caseSensitive) -> void
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.OnMissingRegistration.get -> System.Func!>?
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.OnMissingRegistration.set -> void
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.OnSend.get -> System.Func?
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.OnSend.set -> void
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.Register(JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.RegisterByteArray(System.Net.Http.HttpMethod! method, System.Uri! uri, System.Func!>! contentFactory, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK, string! mediaType = "application/json", System.Collections.Generic.IEnumerable!>>? responseHeaders = null, System.Collections.Generic.IEnumerable!>>? contentHeaders = null, System.Func? onIntercepted = null) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.RegisterStream(System.Net.Http.HttpMethod! method, System.Uri! uri, System.Func!>! contentStream, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK, string! mediaType = "application/json", System.Collections.Generic.IEnumerable!>>? responseHeaders = null, System.Collections.Generic.IEnumerable!>>? contentHeaders = null, System.Func? onIntercepted = null) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.ThrowOnMissingRegistration.get -> bool
-JustEat.HttpClientInterception.HttpClientInterceptorOptions.ThrowOnMissingRegistration.set -> void
-JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.For(System.Func!>! predicate) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.For(System.Predicate? predicate) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForAll(System.Collections.Generic.ICollection!>!>! predicates) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForAll(System.Collections.Generic.ICollection!>! predicates) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForAnyHost() -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForContent(System.Func!>? predicate) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForHost(string! host) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForMethod(System.Net.Http.HttpMethod! method) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForPath(string! path) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForPort(int port) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForQuery(string! query) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForRequestHeader(string! name, System.Collections.Generic.IEnumerable! values) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForRequestHeader(string! name, params string![]! values) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForRequestHeader(string! name, string! value) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForRequestHeaders(System.Collections.Generic.IDictionary!>! headers) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForRequestHeaders(System.Collections.Generic.IDictionary! headers) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForRequestHeaders(System.Func!>>!>! headerFactory) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForScheme(string! scheme) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForUri(System.Uri! uri) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.ForUri(System.UriBuilder! uriBuilder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.HavingPriority(int? priority) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.HttpRequestInterceptionBuilder() -> void
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.IgnoringPath(bool ignorePath = true) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.IgnoringQuery(bool ignoreQuery = true) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContent(System.Func!>! contentFactory) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContent(System.Func? contentFactory) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentHeader(string! name, System.Collections.Generic.IEnumerable! values) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentHeader(string! name, params string![]! values) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentHeader(string! name, string! value) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentHeaders(System.Collections.Generic.IDictionary!>! headers) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentHeaders(System.Collections.Generic.IDictionary! headers) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentHeaders(System.Func!>>!>! headerFactory) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentStream(System.Func? contentStream) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithContentStream(System.Func!>! contentStream) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithInterceptionCallback(System.Action! onIntercepted) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithInterceptionCallback(System.Func!>! onIntercepted) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithInterceptionCallback(System.Func! onIntercepted) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithInterceptionCallback(System.Func!>! onIntercepted) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithInterceptionCallback(System.Func! onIntercepted) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithInterceptionCallback(System.Predicate? onIntercepted) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithMediaType(string! mediaType) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithReason(string! reasonPhrase) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithResponseHeader(string! name, System.Collections.Generic.IEnumerable! values) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithResponseHeader(string! name, params string![]! values) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithResponseHeader(string! name, string! value) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithResponseHeaders(System.Collections.Generic.IDictionary!>! headers) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithResponseHeaders(System.Collections.Generic.IDictionary! headers) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithResponseHeaders(System.Func!>>!>! headerFactory) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithStatus(System.Net.HttpStatusCode statusCode) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithStatus(int statusCode) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilder.WithVersion(System.Version! version) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions
-JustEat.HttpClientInterception.HttpRequestNotInterceptedException
-JustEat.HttpClientInterception.HttpRequestNotInterceptedException.HttpRequestNotInterceptedException() -> void
-JustEat.HttpClientInterception.HttpRequestNotInterceptedException.HttpRequestNotInterceptedException(string! message) -> void
-JustEat.HttpClientInterception.HttpRequestNotInterceptedException.HttpRequestNotInterceptedException(string! message, System.Exception! innerException) -> void
-JustEat.HttpClientInterception.HttpRequestNotInterceptedException.HttpRequestNotInterceptedException(string! message, System.Net.Http.HttpRequestMessage! request) -> void
-JustEat.HttpClientInterception.HttpRequestNotInterceptedException.Request.get -> System.Net.Http.HttpRequestMessage?
-JustEat.HttpClientInterception.InterceptingHttpMessageHandler
-JustEat.HttpClientInterception.InterceptingHttpMessageHandler.InterceptingHttpMessageHandler(JustEat.HttpClientInterception.HttpClientInterceptorOptions! options) -> void
-JustEat.HttpClientInterception.InterceptingHttpMessageHandler.InterceptingHttpMessageHandler(JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.Net.Http.HttpMessageHandler! innerHandler) -> void
-JustEat.HttpClientInterception.SystemTextJsonExtensions
-override JustEat.HttpClientInterception.InterceptingHttpMessageHandler.Send(System.Net.Http.HttpRequestMessage! request, System.Threading.CancellationToken cancellationToken) -> System.Net.Http.HttpResponseMessage!
-override JustEat.HttpClientInterception.InterceptingHttpMessageHandler.SendAsync(System.Net.Http.HttpRequestMessage! request, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task!
-static JustEat.HttpClientInterception.BundleExtensions.RegisterBundle(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! path) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.BundleExtensions.RegisterBundle(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! path, System.Collections.Generic.IEnumerable>! templateValues) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.BundleExtensions.RegisterBundleAsync(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! path, System.Collections.Generic.IEnumerable>? templateValues = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task!
-static JustEat.HttpClientInterception.BundleExtensions.RegisterBundleFromStream(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.IO.Stream! stream, System.Collections.Generic.IEnumerable>? templateValues = null) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.BundleExtensions.RegisterBundleFromStreamAsync(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.IO.Stream! stream, System.Collections.Generic.IEnumerable>? templateValues = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.CreateHttpClient(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! baseAddress) -> System.Net.Http.HttpClient!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.CreateHttpClient(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.Uri! baseAddress, System.Net.Http.HttpMessageHandler? innerHandler = null) -> System.Net.Http.HttpClient!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.DeregisterGet(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! uriString) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.Register(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.Collections.Generic.IEnumerable! collection) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.Register(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, params JustEat.HttpClientInterception.HttpRequestInterceptionBuilder![]! collection) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterByteArray(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.Net.Http.HttpMethod! method, System.Uri! uri, System.Func! contentFactory, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK, string! mediaType = "application/json", System.Collections.Generic.IEnumerable>? responseHeaders = null) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterGet(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! uriString, string! content, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK, string! mediaType = "application/json") -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterGetFromJson(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! uriString, T content, System.Text.Json.Serialization.Metadata.JsonTypeInfo! jsonTypeInfo, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterGetJson(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, string! uriString, object! content, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.RegisterStream(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options, System.Net.Http.HttpMethod! method, System.Uri! uri, System.Func! contentStream, System.Net.HttpStatusCode statusCode = System.Net.HttpStatusCode.OK, string! mediaType = "application/json", System.Collections.Generic.IEnumerable>? responseHeaders = null) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpClientInterceptorOptionsExtensions.ThrowsOnMissingRegistration(this JustEat.HttpClientInterception.HttpClientInterceptorOptions! options) -> JustEat.HttpClientInterception.HttpClientInterceptorOptions!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, System.Predicate? predicate) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForDelete(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForFormContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, System.Collections.Generic.IEnumerable>! parameters) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForGet(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForHttp(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForHttps(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForPost(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForPut(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.ForUrl(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, string! uriString) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.RegisterWith(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, JustEat.HttpClientInterception.HttpClientInterceptorOptions! options) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.Requests(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.Responds(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.WithContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, string! content) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.WithFormContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, System.Collections.Generic.IEnumerable>! parameters) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.WithJsonContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, object! content) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.HttpRequestInterceptionBuilderExtensions.WithJsonContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, T content, System.Text.Json.Serialization.Metadata.JsonTypeInfo! jsonTypeInfo) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-static JustEat.HttpClientInterception.SystemTextJsonExtensions.WithSystemTextJsonContent(this JustEat.HttpClientInterception.HttpRequestInterceptionBuilder! builder, object! content, System.Text.Json.JsonSerializerOptions? options = null) -> JustEat.HttpClientInterception.HttpRequestInterceptionBuilder!
-virtual JustEat.HttpClientInterception.HttpClientInterceptorOptions.CreateHttpClient(System.Net.Http.HttpMessageHandler? innerHandler = null) -> System.Net.Http.HttpClient!
-virtual JustEat.HttpClientInterception.HttpClientInterceptorOptions.CreateHttpMessageHandler() -> System.Net.Http.DelegatingHandler!
-virtual JustEat.HttpClientInterception.HttpClientInterceptorOptions.GetResponseAsync(System.Net.Http.HttpRequestMessage! request, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task!
diff --git a/src/HttpClientInterception/PublicAPI/net7.0/PublicAPI.Unshipped.txt b/src/HttpClientInterception/PublicAPI/net7.0/PublicAPI.Unshipped.txt
deleted file mode 100644
index 7dc5c581..00000000
--- a/src/HttpClientInterception/PublicAPI/net7.0/PublicAPI.Unshipped.txt
+++ /dev/null
@@ -1 +0,0 @@
-#nullable enable
diff --git a/src/HttpClientInterception/PublicAPI/net6.0/PublicAPI.Unshipped.txt b/src/HttpClientInterception/PublicAPI/net8.0/PublicAPI.Shipped.txt
similarity index 100%
rename from src/HttpClientInterception/PublicAPI/net6.0/PublicAPI.Unshipped.txt
rename to src/HttpClientInterception/PublicAPI/net8.0/PublicAPI.Shipped.txt
diff --git a/src/HttpClientInterception/PublicAPI/net6.0/PublicAPI.Shipped.txt b/src/HttpClientInterception/PublicAPI/net8.0/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/HttpClientInterception/PublicAPI/net6.0/PublicAPI.Shipped.txt
rename to src/HttpClientInterception/PublicAPI/net8.0/PublicAPI.Unshipped.txt
diff --git a/tests/HttpClientInterception.Benchmarks/JustEat.HttpClientInterception.Benchmarks.csproj b/tests/HttpClientInterception.Benchmarks/JustEat.HttpClientInterception.Benchmarks.csproj
index 604f2222..04b35df6 100644
--- a/tests/HttpClientInterception.Benchmarks/JustEat.HttpClientInterception.Benchmarks.csproj
+++ b/tests/HttpClientInterception.Benchmarks/JustEat.HttpClientInterception.Benchmarks.csproj
@@ -5,7 +5,7 @@
Exe
JustEat.HttpClientInterception
Benchmarks for JustEat.HttpClientInterception
- net472;net6.0;net8.0
+ net472;net6.0;net8.0;net9.0
diff --git a/tests/HttpClientInterception.Tests/JustEat.HttpClientInterception.Tests.csproj b/tests/HttpClientInterception.Tests/JustEat.HttpClientInterception.Tests.csproj
index 6978a1a6..947a1719 100644
--- a/tests/HttpClientInterception.Tests/JustEat.HttpClientInterception.Tests.csproj
+++ b/tests/HttpClientInterception.Tests/JustEat.HttpClientInterception.Tests.csproj
@@ -5,7 +5,7 @@
$(NoWarn);CA1303;CA1600;CA1707;CA1812;CA1861;CA2000;CA2007;SA1600;SA1601
JustEat.HttpClientInterception
Tests for JustEat.HttpClientInterception
- net8.0
+ net9.0