API Reference muro_plug v#0.1.0

Copy Markdown View Source

Modules

A Plug and Phoenix adapter that serves HTTP/1.1 from the muro-http book.

A thin, total reading of the emitted step.muro (MuroPlug.Step).

An incremental Transfer-Encoding: chunked request-body decoder.

The Thousand Island handler that drives the emitted step.muro.

The Thousand Island host. Kept for the scaffold's name: it is MuroPlug.child_spec/1 with port: 0 as the default.

A plug that answers every request with 404. The host's default.

A Phoenix.Endpoint adapter for MuroPlug, shaped like Bandit.PhoenixAdapter.

WebSocket (RFC 6455) over MuroPlug, through the WebSock API.

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.