Server.over
A Server over a transport the caller supplies.
Source and package
- Qualified name
-
libtmux::Server:: over - Namespace
- libtmux
- Declared in
Server- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] static expected<Server, CommandFailure > over(std::shared <const Command_ptr Executor > executor, ExecutorOptions options = {}, CommandObserver observer = {}, ExecutionPolicy policy = {}); -
Description#
BackendKind::customnamed this possibility from the first release and nothing could reach it: the interface a backend had to satisfy lived in a header this package does not install, so the only transport a consumer could get was the one that launches a subprocess per command. An executor answers one command; the library keeps session routing, batching, attach preparation and the rest on its own side rather than making them a promise.- Parameters
-
-
executor(std::shared <const Command_ptr Executor >) #
-