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

server.Server.socketPath

TypeScript

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
packages/libtmux/src/server.ts
Other languages
Python Ruby Lua RustGo Java .NET C++ Swift
socketPath ( ) → string | undefined
method [source]
method [source]
socketPath

The socket path this server addresses, if it was given one.

In other ports The socket path this server addresses

Examples

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

0 declared, 0 inherited

Esc

Type to search.