# types.ConnectionOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/types.ts#L918
- **Page:** https://libtmux.org/en/ts/latest/reference/types-connectionoptions/

Options shared by connected servers and event observers.

## Members

### Other members

- [`bufferSize`](/en/ts/latest/reference/types-connectionoptions-buffersize/) (property): How many events to hold for a consumer that has fallen behind.
- [`reconnect`](/en/ts/latest/reference/types-connectionoptions-reconnect/) (property): Reopen the connection when it drops unexpectedly.
- [`signal`](/en/ts/latest/reference/types-connectionoptions-signal/) (property): Abort the connection when this signal fires.
- [`target`](/en/ts/latest/reference/types-connectionoptions-target/) (property): Session to attach to. Defaults to whichever tmux considers most recent.
