HttpTracer 1.0.0

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

There is a newer version of this package available.
See the version list below for details.
Install-Package HttpTracer -Version 1.0.0
dotnet add package HttpTracer --version 1.0.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

HttpTracer

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

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!

HttpTracer

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

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!

Release Notes

See: https://github.com/TorontoMobileDevelopers/HttpTracer

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.1 49 10/7/2019
2.1.0 35 10/4/2019
2.0.2 4,521 4/30/2019
2.0.1 5,408 4/23/2019
2.0.0 234 4/22/2019
1.0.3 1,016 3/3/2019
1.0.2 2,153 11/27/2018
1.0.1 593 5/25/2018
1.0.0 327 5/5/2018
Show less