![]() |
VOOZH | about |
dotnet add package GenHTTP.Adapters.WiredIO --version 10.4.0
NuGet\Install-Package GenHTTP.Adapters.WiredIO -Version 10.4.0
<PackageReference Include="GenHTTP.Adapters.WiredIO" Version="10.4.0" />
<PackageVersion Include="GenHTTP.Adapters.WiredIO" Version="10.4.0" />Directory.Packages.props
<PackageReference Include="GenHTTP.Adapters.WiredIO" />Project file
paket add GenHTTP.Adapters.WiredIO --version 10.4.0
#r "nuget: GenHTTP.Adapters.WiredIO, 10.4.0"
#:package GenHTTP.Adapters.WiredIO@10.4.0
#addin nuget:?package=GenHTTP.Adapters.WiredIO&version=10.4.0Install as a Cake Addin
#tool nuget:?package=GenHTTP.Adapters.WiredIO&version=10.4.0Install as a Cake Tool
Allows to use modules provided by GenHTTP within a Wired.IO application.
using GenHTTP.Adapters.WiredIO;
using GenHTTP.Modules.ApiBrowsing;
using GenHTTP.Modules.Functional;
using GenHTTP.Modules.Layouting;
using GenHTTP.Modules.OpenApi;
using Wired.IO.App;
// GET http://localhost:5000/api/redoc/
var api = Inline.Create()
.Get("hello", (string a) => $"Hello {a}!");
var layout = Layout.Create()
.Add(api)
.AddOpenApi()
.AddRedoc()
.Defaults(); // adds compression, eTag handling, ...
var builder = WiredApp.CreateExpressBuilder()
.Port(5000)
.MapGenHttp("/api/*", layout);
var app = builder.Build();
await app.RunAsync();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.