Class ExecDsl

Namespace: redb.Route.Exec
Assembly: redb.Route.Exec.dll

Fluent entry point for exec endpoints. Build URIs without manual string concatenation.

// Producer — request/response
.To(ExecDsl.Run("git").Args("status").AllowedCommands("git").TimeoutMs(5000))

// Consumer — scheduled
.From(ExecDsl.Run("./health-check.sh").Schedule("5m"))

public static class ExecDsl

Inheritance

Object→ExecDsl

Methods

Run(string?)

Build an exec endpoint URI for the given command. The host part is fixed at run.

public static ExecBuilder Run(string? command = null)