RichardSzalay.MockHttp 3.3.0
Testing layer for Microsoft's HttpClient library
No packages depend on RichardSzalay.MockHttp.
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
.NETPortable 0.0
- Microsoft.Net.Http (>= 2.1.10)
MonoTouch 1.0
- No dependencies.
.NET Framework 4.0
- Microsoft.Net.Http (>= 2.1.10)
.NET Framework 4.5
- System.Net.Http (>= 4.0.0)
.NET Standard 1.1
- System.Threading (>= 4.0.11)
- System.Collections (>= 4.0.11)
- System.Runtime.Extensions (>= 4.1.0)
- System.Net.Http (>= 4.1.0)
- System.Linq (>= 4.1.0)
MonoAndroid 1.0
- No dependencies.
.NETPortable 0.0
- No dependencies.
Version | Downloads | Last updated |
---|---|---|
7.0.0 | 7 | 11/04/2023 |
6.0.0 | 10 | 06/27/2022 |
5.0.0 | 12 | 09/10/2022 |
4.0.0 | 11 | 09/09/2022 |
3.3.0 | 11 | 09/15/2022 |
3.2.1 | 11 | 09/14/2022 |
3.2.0 | 8 | 09/09/2022 |
3.1.0 | 9 | 09/09/2022 |
1.5.1 | 8 | 09/14/2022 |
1.5.0 | 8 | 09/10/2022 |
1.4.1 | 13 | 09/11/2022 |
1.4.0 | 9 | 09/09/2022 |
1.3.1 | 12 | 09/09/2022 |
1.3.0 | 9 | 09/09/2022 |
1.3.0-netstandard-alpha2 | 11 | 09/25/2022 |
1.3.0-netstandard-alpha1 | 8 | 10/26/2022 |
1.2.2 | 7 | 09/10/2022 |
1.2.1 | 10 | 09/09/2022 |
1.2.0 | 9 | 09/12/2022 |
1.1.0 | 8 | 09/09/2022 |
1.0.1.79-pre | 6 | 10/26/2022 |
1.0.1 | 8 | 09/09/2022 |
1.0.1-beta | 9 | 09/26/2022 |
1.0.0-beta | 11 | 09/25/2022 |