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.

method libtmux-ts latest

Server.socketName

The socket name this server addresses, if it was named rather than pathed.

Source and package
Qualified name
Server.socketName
Module
server
Declared in
Server
Package
libtmux
Source
packages/libtmux/src/server.ts
Other languages
PowerShell Julia Elixir Python Ruby Lua Rust Go Java C# C++ Swift Kotlin Scala F#
socketName(): string | undefined

Examples#

new Server({ socketName: "work" }).socketName; // "work"

In other ports#

The socket name this server addresses

Equivalents of The socket name this server addresses in other languages
Language Equivalent
Python libtmux.Server.socket_name
Rust server.Server.socket_name
Go Server.SocketPath reports the resolved path instead
Java no equivalent on Server
C# no equivalent on Server
C++ Server::at_socket_name sets it rather than reading it
Swift Server.init(socketName:) takes it rather than reporting it

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference