Path: redb-route/redb.Route.Controllers/RedbController.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Controllers/RedbController.cs
----
using redb.Route.Abstractions;
namespace redb.Route.Controllers;
///
/// Base class for transport-agnostic controllers dispatched via .
/// Controllers sit behind direct: endpoints and are unaware of transport — any InOut endpoint can invoke them.
///
public abstract class RedbController
{
/// Route context this controller operates within.
public IRouteContext Context { get; internal set; } = null!;
/// Current exchange being processed.
public IExchange Exchange { get; internal set; } = null!;
}