Viki.HttpMockSlim 1.0.3

HttpMockSlim

Still in development, created to be used in internal load-tests to mock some http services
Developed with these requirements in mind:
* No admin-rights necessary
* No dependencies on other nugets
* 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.

Install-Package Viki.HttpMockSlim -Version 1.0.3
dotnet add package Viki.HttpMockSlim --version 1.0.3
<PackageReference Include="Viki.HttpMockSlim" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Viki.HttpMockSlim --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

1.0.3:
* Native support for GZipped requests in SimpleFuncHandler(). Thx to DeadlyEmbrace@github
> Affected parts:
 * HttpMockSlim.Add(string method, string relativePath, Action<Request, Response> responseFiller)
 * HttpMockSlim.Add(Action<Request, Response> responseFiller)
 * SimpleFuncHandler it self.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.3 519 7/14/2017
1.0.2-alpha 234 3/21/2017
1.0.1-alpha 244 3/21/2017
1.0.0 241 3/21/2017
0.0.5-beta 212 3/21/2017
0.0.4-beta 211 11/2/2016
0.0.3-beta 314 10/28/2016
0.0.2-beta 199 10/27/2016
0.0.1-beta 260 10/27/2016