Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Rust API

Rust documentation

server.Server.socket_path

Rust

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
Other languages
PythonTypeScriptGo Java .NET C++ Swift
socket_path ( self ) → &Path
method [source]
method [source]
socket_path

Return the captured absolute socket path used for identity and dispatch.

In other ports The socket path this server addresses

Examples

let server = libtmux::Server::builder()
.socket_path("/tmp/libtmux-rs-test/socket-example.sock")
.build()?;
assert!(server.socket_path().is_absolute());
new Server({ socketPath: "/tmp/tmux-1000/work" }).socketPath;

0 declared, 0 inherited

Esc

Type to search.