RichardSzalay.MockHttp
1.5.0
See the version list below for details.
dotnet add package RichardSzalay.MockHttp --version 1.5.0
NuGet\Install-Package RichardSzalay.MockHttp -Version 1.5.0
<PackageReference Include="RichardSzalay.MockHttp" Version="1.5.0" />
paket add RichardSzalay.MockHttp --version 1.5.0
#r "nuget: RichardSzalay.MockHttp, 1.5.0"
// Install RichardSzalay.MockHttp as a Cake Addin #addin nuget:?package=RichardSzalay.MockHttp&version=1.5.0 // Install RichardSzalay.MockHttp as a Cake Tool #tool nuget:?package=RichardSzalay.MockHttp&version=1.5.0
Testing layer for Microsoft's HttpClient library
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.1 is compatible. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.0
- Microsoft.Net.Http (>= 2.1.10)
-
.NETFramework 4.5
- System.Net.Http (>= 4.0.0)
-
.NETStandard 1.1
- System.Collections (>= 4.0.11)
- System.Linq (>= 4.1.0)
- System.Net.Http (>= 4.1.0)
- System.Runtime.Extensions (>= 4.1.0)
- System.Threading (>= 4.0.11)
-
MonoAndroid 1.0
- No dependencies.
-
MonoTouch 1.0
- No dependencies.
-
Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)
- Microsoft.Net.Http (>= 2.1.10)
-
Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhoneApp 8.1)
- No dependencies.
NuGet packages (18)
Showing the top 5 NuGet packages that depend on RichardSzalay.MockHttp:
Package | Downloads |
---|---|
D2L.Security.OAuth2.TestFramework
Library for obtaining authorization in tests |
|
Kralizek.AutoFixture.Extensions.MockHttp
An extension to AutoFixture to easily work with MockHttp. |
|
comsec.sugar.moq
A lean collection of classes to make it easier to mock multiple dependencies for a unit test. |
|
Microsoft.Bot.Builder.Dialogs.Adaptive.Testing
Library for creating declarative test scripts for testing Bot Framework Adaptive Dialogs. |
|
CoderPatros.MockHttpExtensions
This library is a small collection of extension methods for Richard Szalay's excellent MockHttp. |
GitHub repositories (57)
Showing the top 5 popular GitHub repositories that depend on RichardSzalay.MockHttp:
Repository | Stars |
---|---|
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
|
|
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
|
|
reactiveui/refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
|
|
MudBlazor/MudBlazor
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
|
|
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 6 and newer.
|
Version | Downloads | Last updated |
---|---|---|
7.0.0 | 4,342,317 | 10/12/2023 |
6.0.0 | 14,565,871 | 11/18/2019 |
5.0.0 | 2,022,573 | 6/18/2018 |
4.0.0 | 108,458 | 4/16/2018 |
3.3.0 | 183,771 | 3/11/2018 |
3.2.1 | 713,685 | 9/7/2017 |
3.2.0 | 25,529 | 8/31/2017 |
3.1.0 | 6,490 | 8/29/2017 |
1.5.1 | 29,780 | 8/22/2017 |
1.5.0 | 233,940 | 2/23/2017 |
1.4.1 | 13,269 | 1/19/2017 |
1.4.0 | 3,743 | 1/17/2017 |
1.3.1 | 93,165 | 9/19/2016 |
1.3.0 | 31,169 | 6/30/2016 |
1.3.0-netstandard-alpha2 | 6,599 | 5/19/2016 |
1.3.0-netstandard-alpha1 | 2,416 | 5/19/2016 |
1.2.2 | 71,819 | 3/1/2016 |
1.2.1 | 19,349 | 5/6/2015 |
1.2.0 | 16,029 | 12/22/2014 |
1.1.0 | 2,762 | 12/21/2014 |
1.0.1.79-pre | 2,289 | 7/5/2016 |
1.0.1 | 22,382 | 6/28/2014 |
1.0.1-beta | 2,251 | 6/23/2014 |
1.0.0-beta | 2,253 | 6/22/2014 |
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