# LibTmux.ITmuxRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Chaining/ITmuxRequest.cs#L27
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-itmuxrequest/

A request that becomes one tmux command against a target.

Every request builds its command with the same code the one-shot method
uses, so a chained call and a direct call send identical arguments rather
than two descriptions that have to be kept in step.

What each request is aimed at is decided by what tmux needs, not by taste.
A window names the session that will hold it; keys name the pane, because
which flags tmux accepts depends on the server version and the pane is what
knows it. A request that names nothing in particular, such as a new
session, is aimed at the server that runs it.

<see cref="TmuxChaining" /> runs any of these on its own; a
<see cref="TmuxChain" /> runs several in one tmux invocation.

## Members

- `ToCommand` (method): Returns this request as one tmux command.
