RichardSzalay.MockHttp 1.0.1-beta

This is a prerelease version of RichardSzalay.MockHttp.
There is a newer version of this package available.
See the version list below for details.
dotnet add package RichardSzalay.MockHttp --version 1.0.1-beta
NuGet\Install-Package RichardSzalay.MockHttp -Version 1.0.1-beta
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.0.1-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RichardSzalay.MockHttp --version 1.0.1-beta
#r "nuget: RichardSzalay.MockHttp, 1.0.1-beta"
#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.0.1-beta&prerelease

// Install RichardSzalay.MockHttp as a Cake Tool
#tool nuget:?package=RichardSzalay.MockHttp&version=1.0.1-beta&prerelease

Testing layer for Microsoft's HttpClient library

There are no supported framework assets in this 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

Library for obtaining authorization in tests


An extension to AutoFixture to easily work with MockHttp.

comsec.sugar.moq The ID prefix of this package has been reserved for one of the owners of this package by

A lean collection of classes to make it easier to mock multiple dependencies for a unit test.

Microsoft.Bot.Builder.Dialogs.Adaptive.Testing The ID prefix of this package has been reserved for one of the owners of this package by

Library for creating declarative test scripts for testing Bot Framework Adaptive Dialogs.


This library is a small collection of extension methods for Richard Szalay's excellent MockHttp.

GitHub repositories (48)

Showing the top 5 popular GitHub repositories that depend on RichardSzalay.MockHttp:

Repository Stars
Simple REST and HTTP API Client for .NET
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.
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.
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
Scan documents to PDF and more, as simply as possible.
Version Downloads Last updated
7.0.0 1,273,046 10/12/2023
6.0.0 12,521,430 11/18/2019
5.0.0 1,942,128 6/18/2018
4.0.0 105,750 4/16/2018
3.3.0 180,471 3/11/2018
3.2.1 693,424 9/7/2017
3.2.0 25,233 8/31/2017
3.1.0 6,158 8/29/2017
1.5.1 26,688 8/22/2017
1.5.0 224,242 2/23/2017
1.4.1 13,195 1/19/2017
1.4.0 3,708 1/17/2017
1.3.1 91,465 9/19/2016
1.3.0 29,266 6/30/2016
1.3.0-netstandard-alpha2 6,505 5/19/2016
1.3.0-netstandard-alpha1 2,354 5/19/2016
1.2.2 71,610 3/1/2016
1.2.1 18,664 5/6/2015
1.2.0 15,574 12/22/2014
1.1.0 2,728 12/21/2014 2,256 7/5/2016
1.0.1 14,432 6/28/2014
1.0.1-beta 2,218 6/23/2014
1.0.0-beta 2,222 6/22/2014

Initial release