# muro_plug v0.1.0 - API Reference

## Modules

- [MuroPlug](MuroPlug.md): A Plug and Phoenix adapter that serves HTTP/1.1 from the muro-http
book.
- [MuroPlug.Adapter](MuroPlug.Adapter.md): The `Plug.Conn.Adapter` for `MuroPlug`.
- [MuroPlug.Book](MuroPlug.Book.md): A thin, total reading of the emitted `step.muro` (`MuroPlug.Step`).
- [MuroPlug.Chunked](MuroPlug.Chunked.md): An incremental `Transfer-Encoding: chunked` request-body decoder.
- [MuroPlug.Handler](MuroPlug.Handler.md): The Thousand Island handler that drives the emitted `step.muro`.
- [MuroPlug.Host](MuroPlug.Host.md): The Thousand Island host. Kept for the scaffold's name: it is
`MuroPlug.child_spec/1` with `port: 0` as the default.

- [MuroPlug.NotFound](MuroPlug.NotFound.md): A plug that answers every request with 404. The host's default.
- [MuroPlug.PhoenixAdapter](MuroPlug.PhoenixAdapter.md): A `Phoenix.Endpoint` adapter for MuroPlug, shaped like
`Bandit.PhoenixAdapter`.
- [MuroPlug.Step](MuroPlug.Step.md)
- [MuroPlug.WebSocket](MuroPlug.WebSocket.md): WebSocket (RFC 6455) over MuroPlug, through the `WebSock` API.

- Exceptions
  - [MuroPlug.WebSocket.UpgradeError](MuroPlug.WebSocket.UpgradeError.md): Raised by `Plug.Conn.upgrade_adapter/3` (through
`MuroPlug.Adapter.upgrade/3`) when a request is not a valid
RFC 6455 opening handshake. `plug_status` is 400, or 426 for an
unsupported `sec-websocket-version`; `headers` go on that response.

