Viki.HttpMockSlim 2.0.10

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Viki.HttpMockSlim -Version 2.0.10
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.
dotnet add package Viki.HttpMockSlim --version 2.0.10
<PackageReference Include="Viki.HttpMockSlim" Version="2.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Viki.HttpMockSlim --version 2.0.10
#r "nuget: Viki.HttpMockSlim, 2.0.10"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Viki.HttpMockSlim as a Cake Addin
#addin nuget:?package=Viki.HttpMockSlim&version=2.0.10

// Install Viki.HttpMockSlim as a Cake Tool
#tool nuget:?package=Viki.HttpMockSlim&version=2.0.10

Created to be used in internal load-tests to mock some http services
Developed with these requirements in mind:
* Uses .net built-in HttpServer
* No admin-rights necessary
* Concurrency
* Easy to mock responses with funcs or with custom IHttpHandlerMock
Cons:
* It is small, so only simplified handler exists - which supports mocking StatusCode/ContentType/ResponseBody.
* Advanced features require implementing IHttpHandlerMock and handling HttpListenerContext.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.11 402 3/24/2021
2.0.10 214 3/24/2021
2.0.9 208 3/10/2021
2.0.5-preview 156 3/9/2021
2.0.4-preview 277 5/14/2020
2.0.2-preview 273 5/13/2020
2.0.1-preview 257 5/13/2020
1.0.3 1,346 7/14/2017
1.0.2-alpha 728 3/21/2017
1.0.1-alpha 766 3/21/2017
1.0.0 778 3/21/2017
0.0.5-beta 737 3/21/2017
0.0.4-beta 731 11/2/2016
0.0.3-beta 990 10/28/2016
0.0.2-beta 658 10/27/2016
0.0.1-beta 860 10/27/2016

Added custom header support for simple wrapper.