# LibTmux::Async::Server#snapshot

- **Module:** LibTmux::Async
- **Package:** libtmux-async
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/server.rb#L337
- **Public owner:** LibTmux::Server#snapshot
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-async-server-snapshot/

```
def snapshot: (
  ?timeout: ::Numeric,
  ?cancel: untyped,
  ?clients: bool,
  ?max_bytes: ::Integer,
  ?max_rows: ::Integer,
  ?max_field_bytes: ::Integer
) -> ::LibTmux::Snapshot
```

Behavior: Snapshot acquisition.

Behavior contract: Snapshot acquisition.
