# server.discovery.Server.clients_or_empty

- **Module:** server.discovery.Server
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/server/discovery.rs#L119
- **Page:** https://libtmux.org/reference/rs/server-discovery-server-clients_or_empty/

```
server.discovery.Server.clients_or_empty(self) -> Vec<Client>
```

List every client attached to the server, in tmux's own order.

This is the lenient form; use [`Server::clients`] when the reason for
an empty result matters.
