feat: add jetstream api router and error envelope

This commit is contained in:
Joseph Doherty
2026-02-23 05:58:34 -05:00
parent 7fe15d7ce1
commit 6d23e89fe8
6 changed files with 90 additions and 0 deletions
@@ -0,0 +1,7 @@
namespace NATS.Server.JetStream.Api;
public sealed class JetStreamApiRouter
{
public JetStreamApiResponse Route(string subject, ReadOnlySpan<byte> payload)
=> JetStreamApiResponse.NotFound(subject);
}