HttpTracer 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package HttpTracer --version 1.0.0                
NuGet\Install-Package HttpTracer -Version 1.0.0                
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="HttpTracer" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HttpTracer --version 1.0.0                
#r "nuget: HttpTracer, 1.0.0"                
#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 HttpTracer as a Cake Addin
#addin nuget:?package=HttpTracer&version=1.0.0

// Install HttpTracer as a Cake Tool
#tool nuget:?package=HttpTracer&version=1.0.0                

HttpTracer

A simple http tracing library to write request and response information to your output window. Making your life easier when debugging http calls!

alternate text is missing from this package README image

Platform Support

Http Tracer is a .NET Standard 2.0 library.

Getting Started

It is really easy to start using and debugging your Http requests, just add a instance of HttpTracerHandler to your HttpClient creation and start picking up the traces in your Visual Studio console window.

using HttpTracer;
public async Task GetMyData()
{
    var tracer = new HttpTracerHandler();
    var client = new HttpClient(tracer);
    var result = await client.GetAsync("http://myserviceurl.com");
}

If you happen to use custom Http Handlers in your project, we suggest you use our Http handler builder:

using HttpTracer;
public async Task GetMyData()
{
    var builder = new HttpHandlerBuilder();

    builder.AddHandler(new MyHandler3())
           .AddHandler(new MyHandler2())
           .AddHandler(new MyHandler1());
           
    var client = new HttpClient(builder.Build());
    var result = await client.GetAsync("http://myserviceurl.com");
}

License

Under MIT (see license file)

Want To Support This Project?

All we ask is to be active by submitting bugs, features, and sending those pull requests down!

Product 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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework 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.  monoandroid50 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap10.0.16299 is compatible. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on HttpTracer:

Package Downloads
RipeClient

.net core client to RIPE Database and hosted RPKI

Rownd.Xamarin

Integrate simple, frictionless authentication into your Xamarin app.

Golden.Infrastructure.ApiResource

Package Description

Rownd.Maui

Integrate simple, frictionless authentication into your .NET MAUI app.

Hs.Infrastructure.Common

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on HttpTracer:

Repository Stars
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
Version Downloads Last updated
2.1.1 546,712 10/7/2019
2.1.0 525 10/4/2019
2.0.2 15,273 4/30/2019
2.0.1 6,521 4/23/2019
2.0.0 728 4/22/2019
1.0.3 1,553 3/3/2019
1.0.2 2,772 11/27/2018
1.0.1 1,329 5/25/2018
1.0.0 1,152 5/5/2018