# `AmqpSidecar.PublisherBehaviour`

Behaviour for message publishing, allowing the HTTP layer to be tested
with `AmqpSidecar.Publisher.Mock` (Mox).

# `publish`

```elixir
@callback publish(String.t(), String.t(), String.t(), map() | list()) ::
  :ok | {:error, term()}
```

---

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