Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-dotnet

ServerConnectionOptions

Configures a tmux server connection without mutating process-wide state.

Source and package
Qualified name
LibTmux.ServerConnectionOptions
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Connection/TmuxConnectionOptions.cs
class LibTmux.ServerConnectionOptions

Description

Every option is set through an initializer. A constructor parameter binds at the call site when it compiles, so adding one would break an assembly already built against the old signature - and this is the type most likely to grow one.

Properties14

ServerConnectionOptions properties
NameTypeDescription
ChildEnvironment IReadOnlyDictionary<string, string?>? Gets the child-process environment overrides.
ColorMode TmuxColorMode Gets the requested tmux color mode.
CommandTimeout TimeSpan? Gets how long one tmux command may run, or null to wait indefinitely.
ConfigurationFile string? Gets the tmux configuration file.
ControlModeEventBufferCapacity int? Gets how many control-mode events are buffered before pane output is dropped.
ControlModeEventBufferMaxBytes int? Gets the UTF-8 payload byte ceiling for buffered control-mode notifications.
InitializeAsync Func<Server, CancellationToken, ValueTask>? Gets the post-connect initializer.
Interceptor TmuxInterceptor? Gets what every tmux invocation on this connection passes through, or null.
Logger ILogger? Gets the connection logger.
MaxCapturedBytesPerStream int? Gets the largest output one command may capture, in bytes.
SocketName string? Gets the explicit socket name.
SocketNameFactory Func<string>? Gets the deferred socket-name factory.
SocketPath string? Gets the explicit socket path.
TmuxBinaryPath string Gets the tmux executable path.

Members1 members

Guides

task material

Pages that discuss ServerConnectionOptions.

Esc
Search in

Type to search.

Reference previewOpen reference