# `Plushie.Test.SessionPool.Transport`
[🔗](https://github.com/plushie-ui/plushie-elixir/blob/v0.7.2/lib/plushie/test/session_pool/transport.ex#L1)

Transport helpers for `Plushie.Test.SessionPool`.

This module owns renderer process startup and wire writes so the pool and
mode-specific state machines do not need to know about Port setup details.

# `format`

```elixir
@type format() :: :json | :msgpack
```

Wire format used between the Elixir test backend and the renderer.

# `multiplexed_args`

```elixir
@spec multiplexed_args(:mock | :headless, format(), pos_integer()) :: [String.t()]
```

# `open_renderer_port`

```elixir
@spec open_renderer_port(String.t(), [{String.t(), String.t()}], format(), [
  String.t()
]) :: port()
```

# `renderer_mode_flag`

```elixir
@spec renderer_mode_flag(:mock | :headless) :: String.t()
```

# `send_initial_settings`

```elixir
@spec send_initial_settings(port(), format(), String.t()) :: true
```

# `send_to_port`

```elixir
@spec send_to_port(port(), format(), map()) :: true
```

# `windowed_args`

```elixir
@spec windowed_args(format()) :: [String.t()]
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
