RichardSzalay.MockHttp 1.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package RichardSzalay.MockHttp --version 1.2.1                
NuGet\Install-Package RichardSzalay.MockHttp -Version 1.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RichardSzalay.MockHttp" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RichardSzalay.MockHttp --version 1.2.1                
#r "nuget: RichardSzalay.MockHttp, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RichardSzalay.MockHttp as a Cake Addin
#addin nuget:?package=RichardSzalay.MockHttp&version=1.2.1

// Install RichardSzalay.MockHttp as a Cake Tool
#tool nuget:?package=RichardSzalay.MockHttp&version=1.2.1                

Testing layer for Microsoft's HttpClient library

Product Compatible and additional computed target framework versions.
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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,585,598 10/12/2023
6.0.0 14,673,597 11/18/2019
5.0.0 2,027,046 6/18/2018
4.0.0 108,662 4/16/2018
3.3.0 183,901 3/11/2018
3.2.1 714,851 9/7/2017
3.2.0 25,537 8/31/2017
3.1.0 6,521 8/29/2017
1.5.1 30,010 8/22/2017
1.5.0 234,598 2/23/2017
1.4.1 13,271 1/19/2017
1.4.0 3,747 1/17/2017
1.3.1 93,271 9/19/2016
1.3.0 31,238 6/30/2016
1.3.0-netstandard-alpha2 6,603 5/19/2016
1.3.0-netstandard-alpha1 2,420 5/19/2016
1.2.2 71,842 3/1/2016
1.2.1 19,389 5/6/2015
1.2.0 16,056 12/22/2014
1.1.0 2,766 12/21/2014
1.0.1.79-pre 2,293 7/5/2016
1.0.1 22,533 6/28/2014
1.0.1-beta 2,255 6/23/2014
1.0.0-beta 2,259 6/22/2014

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