Msgpax v1.1.0 Msgpax.PlugParser

A Plug.Parsers plug for parsing a MessagePack-encoded body.

Look at the documentation for Plug.Parsers for more information on how to use Plug.Parsers.

Examples

defmodule MyPlugPipeline do
  use Plug.Builder

  plug Plug.Parsers, parsers: [Msgpax.PlugParser], pass: ["application/msgpack"]
  # rest of the pipeline
end

Summary

Functions

Callback implementation for c:Plug.Parsers.parse/5

Functions

parse(conn, arg2, arg3, headers, opts)

Callback implementation for c:Plug.Parsers.parse/5.