# LibTmux::Control::Connection.read

- **Module:** LibTmux::Control
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Control/Connection.rakumod#L440
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-control-connection-read/

```
method read(Projection:D $projection, Invocation:D $listing,
    Incarnation:D :$incarnation!, :$deadline = Instant, :$cancel = Cancellation --> List:D)
```

Read a declared projection through the connection's negotiated codec profile.

Read a declared projection through the connection's negotiated codec profile.

## Parameters

- `$projection` (`Projection:D`)
- `$listing` (`Invocation:D`)
- `$incarnation` (`Incarnation:D`)
- `$deadline?`
- `$cancel?`
