Path: redb-route/redb.Route.Exec/ExecHeaders.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.Exec/ExecHeaders.cs
----
namespace redb.Route.Exec;
///
/// Well-known header keys for exec exchanges.
///
public static class ExecHeaders
{
/// Common prefix for all exec component headers.
public const string Prefix = "redbExec.";
/// Inbound: command name to execute (overrides URI command when set).
public const string Command = "redbExec.Command";
/// Inbound: argument list (string[] or string parsed by simple whitespace split).
public const string Args = "redbExec.Args";
/// Outbound: process exit code (int).
public const string ExitCode = "redbExec.ExitCode";
/// Outbound: standard output (string).
public const string Stdout = "redbExec.Stdout";
/// Outbound: standard error (string).
public const string Stderr = "redbExec.Stderr";
/// Outbound: number of stdout bytes captured (long).
public const string StdoutBytes = "redbExec.StdoutBytes";
/// Outbound: number of stderr bytes captured (long).
public const string StderrBytes = "redbExec.StderrBytes";
/// Outbound: wall-clock duration of the process in milliseconds (long).
public const string DurationMs = "redbExec.DurationMs";
/// Outbound: true when the process was killed by the timeout watchdog.
public const string TimedOut = "redbExec.TimedOut";
/// Outbound: command line string actually launched (for audit/debugging).
public const string CommandLine = "redbExec.CommandLine";
}