Core Library0.xAPI reference

Choose documentation 1

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

module libtmux-kotlin

Server.Companion

Source and package
Qualified name
io.github.libtmux.kotlin.Server.Companion
Package
io.github.libtmux.kotlin
Declared in
Server
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Server.kt
public companion object

Members3 members

Common operations2

  • fromJava A wrapper over a server opened in Java, such as a test fixture's. It takes the server as it is: closing the wrapper closes it.
  • open A server over a transport it owns and closes.

Other members1

  • start Starts a private tmux server that the result owns: closing it ends tmux, removes the server's directory, and throws if the server still answers. See io.github.libtmux.Server.start. withPrivateServer scopes one to a block.
Esc
Search in

Type to search.

Reference previewOpen reference