Server.socketName
The socket name this server addresses, if it was named rather than pathed.
Source and package
-
Examples#
new Server({ socketName: "work" }).socketName; // "work"
In other ports#
The socket name this server addresses
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | server |
| 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#.