# `AshUi.Phoenix.Bridge`
[🔗](https://github.com/hyperbob-labs/ash_ui/blob/main/lib/ash_ui/phoenix/bridge.ex#L1)

Compile-time contract for host-specific LiveView integration.

A bridge supplies the transport session and route-local host options used
while mounting an AshUi resource. This module validates the host
implementation and exposes a session MFA suitable for a Phoenix
`live_session`. It does not define UI structure or application state.

# `generate_session`

```elixir
@callback generate_session(Plug.Conn.t(), keyword()) :: map()
```

# `route_group`

```elixir
@callback route_group(term()) :: map() | nil
```

# `route_options`

```elixir
@callback route_options(term(), term()) :: keyword()
```

# `screen_action`

```elixir
@callback screen_action(term(), keyword()) :: atom()
```

---

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