RichardSzalay.MockHttp 6.0.0

Testing layer for Microsoft's HttpClient library

Showing the top 20 packages that depend on RichardSzalay.MockHttp.

Packages Downloads
Algolia.Search
Algolia Search API Client for C#
3
Algolia.Search
Algolia Search API Client for C#
2
Algolia.Search
Algolia Search API Client for C#
1

6.0.0 - Assemblies are now strong named (binary BREAKING) #1 5.0.0 - Align with official recommendations on multi-targetting HttpClient: - Add netstandard2.0 target #61 - Change .NET 4.5 target to use in-band System.Net.Http reference (BREAKING) #61 - Remove PCL profile 111 (BREAKING) #18 4.0.0 - Default Fallback message now includes request method and URL (BREAKING) - Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.2.1 - XML documentation is now included in the NuGet package. Fixes #52 3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35 - Added WithExactQueryString / WithExactFormData overloads. Fixes #37 - Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45 - Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support

.NET Standard 2.0

  • No dependencies.

MonoTouch 1.0

  • No dependencies.

.NETPortable 0.0

.NET Framework 4.0

.NET Framework 4.5

  • No dependencies.

MonoAndroid 1.0

  • No dependencies.

.NET Standard 1.1

Version Downloads Last updated
7.0.0 2 2025/5/29
6.0.0 1 2025/6/1
5.0.0 1 2025/6/2
4.0.0 1 2025/5/31
3.3.0 1 2025/5/31
3.2.1 1 2025/5/30
3.2.0 1 2025/5/31
3.1.0 1 2025/5/31
1.5.1 1 2025/5/31
1.5.0 1 2025/6/1
1.4.1 1 2025/5/30
1.4.0 1 2025/5/31
1.3.1 1 2025/5/30
1.3.0 1 2025/5/31
1.3.0-netstandard-alpha2 2 2025/5/30
1.3.0-netstandard-alpha1 2 2025/5/26
1.2.2 1 2025/5/30
1.2.1 1 2025/5/30
1.2.0 1 2025/5/31
1.1.0 1 2025/5/31
1.0.1.79-pre 0 2016/7/5
1.0.1 1 2025/5/31
1.0.1-beta 1 2025/5/30
1.0.0-beta 1 2025/5/30