Zhttp.Extensions 1.0.0

dotnet add package Zhttp.Extensions --version 1.0.0
                    
NuGet\Install-Package Zhttp.Extensions -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="Zhttp.Extensions" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zhttp.Extensions" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Zhttp.Extensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Zhttp.Extensions --version 1.0.0
                    
#r "nuget: Zhttp.Extensions, 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.
#:package Zhttp.Extensions@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Zhttp.Extensions&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Zhttp.Extensions&version=1.0.0
                    
Install as a Cake Tool

Zhttp.Extensions

Write zhttp extensions in C#. An extension can add a tab to requests, a rule that changes requests or responses, items in the right-click menu, and a watcher that hears about each response as it arrives.

using System.Text;
using Zhttp.Extensions;

await new Extension()
    .Viewer("base64", async (shown, capture) =>
    {
        var exchange = await capture.GetAsync(shown.Session, shown.Id);
        var text = Encoding.UTF8.GetString(exchange.Request.Body);
        return View.Plain(Encoding.UTF8.GetString(Convert.FromBase64String(text)));
    })
    .RunAsync();

Each handler's name matches one in the extension's extension.json. Publish the program with Native AOT so it runs without .NET installed.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

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
1.0.0 0 11/17/2026